Adding unity project

This commit is contained in:
Anonymous Raccoon
2018-03-03 22:59:40 +01:00
parent ed8b3d2245
commit ec1217577e
34 changed files with 2542 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
private Rigidbody rb;
private void Start()
{
rb = GetComponent<Rigidbody>();
}
private void Update ()
{
rb.AddForce(new Vector3(Input.GetAxis("Horizontal") , 0, 0));
}
}
+13
View File
@@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: 5d21adc90a3a0c5498d394337d4f81fb
timeCreated: 1520108007
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: