NPC
This commit is contained in:
17
Assets/Scripts/Unused/InputController.cs
Normal file
17
Assets/Scripts/Unused/InputController.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class InputController : MonoBehaviour
|
||||
{
|
||||
public float Horizontal { get; private set; }
|
||||
public float Vertical { get; private set; }
|
||||
public float Brake { get; private set; }
|
||||
|
||||
void Update()
|
||||
{
|
||||
Horizontal = Input.GetAxis("Horizontal");
|
||||
Vertical = Input.GetAxis("Vertical");
|
||||
Brake = Input.GetAxis("Jump");
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Unused/InputController.cs.meta
Normal file
11
Assets/Scripts/Unused/InputController.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 43a3b21977ed2c64b8d62ca5013ab914
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user