Example #1
0
        void Start()
        {
            camFly           = this.transform.gameObject;
            objMovementInput = GetComponent <MovementInput>();

            // if (isAllowCamCollision)
            //{
            //     //camFly.GetComponent<BoxCollider>().isTrigger = false;
            // }
            // else {
            //camFly.GetComponent<BoxCollider>().isTrigger = true;
            // }
        }
Example #2
0
 void Start()
 {
     objMovementInput = GetComponent <MovementInput>();
     camWalk          = this.gameObject;
 }