コード例 #1
0
    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;
    }
コード例 #2
0
 void Start()
 {
     StoryLineComp    = this.GetComponent <BHV_Storyline>();
     CameraMotionComp = this.GetComponent <BHV_CameraMotion>();
 }