Esempio n. 1
0
        public override void OnStart()
        {
            base.OnStart();

            movement  = transform.GetComponent <global::Movement>();
            rigidbody = transform.GetComponent <Rigidbody>();
            mouseLook = transform.GetComponent <MouseLook>();
        }
Esempio n. 2
0
        public override void OnStart()
        {
            base.OnStart();

            active = false;

            movement  = transform.GetComponent <global::Movement>();
            rigidbody = transform.GetComponentInChildren <Rigidbody>();
        }
Esempio n. 3
0
        public override void OnStart()
        {
            base.OnStart();

            movement = transform.GetComponent <global::Movement>();
        }