private Dictionary <Evvent, float> EventToCursorDict; // Evvent => Cursor position in timeline (pixels) //void OnEnable () void Start() { //this.TheDatabase = CLS_Database.Instance; //singleton pattern StorylineComponent = this.gameObject.GetComponent <BHV_Storyline>(); this.EventToCursorDict = new Dictionary <Evvent, float>(); currentVelocity = Vector3.forward; //CameraTransform.forward; CameraTransform = UnityEngine.Camera.main.transform; CameraInitPos = CameraTransform.position; CameraInitRot = CameraTransform.rotation; }
void Start() { StoryLineComp = this.GetComponent <BHV_Storyline>(); CameraMotionComp = this.GetComponent <BHV_CameraMotion>(); }