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