コード例 #1
0
ファイル: CamFly.cs プロジェクト: MuhammadFaizanKhan/3DWalker
        void Start()
        {
            camFly           = this.transform.gameObject;
            objMovementInput = GetComponent <MovementInput>();

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