void Awake() { // Set Rigidbody rb = this.GetComponent <Rigidbody>(); // Init Input Manager IM = Managers.s_InputManager.Instance; }
void Start() { // Input Manager instace IM = s_InputManager.Instance; // Init starting variables currentFrame = 0; totalFrames = 0; keyframeTime = 0.0f; isNormal = true; // Set previous play direction previousPlaybackDirection = PB_Direction.FORWARD; // Init Objects to record GetObjectsToRecord(); }