Pro_Unit

AInputController

Feb 10th, 2019
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.57 KB | None | 0 0
  1. using DG.Tweening;
  2.  
  3. using GameCore;
  4.  
  5. using UnityEngine;
  6. namespace CyberBeat
  7. {
  8.     public abstract class AInputController : ScriptableObject
  9.     {
  10.         public abstract void Awake ();
  11.         public abstract void MoveRight ();
  12.         public abstract void MoveLeft ();
  13.         protected Vector3[] rightPath;
  14.         protected Vector3[] leftPath;
  15.         [SerializeField] RigidbodyVariable targetVariable;
  16.         protected Rigidbody Target { get { return targetVariable.ValueFast; } }
  17.         [SerializeField] protected InputSettings settings;
  18.     }
  19.     public enum InputControlType
  20.     {
  21.         Center = 0,
  22.         Side = 1
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment