Пример #1
0
 private void Awake()
 {
     input = new MyInputAction();
     if (animator == null)
     {
         animator = GetComponent <Animator>();
     }
 }
Пример #2
0
 private void Awake()
 {
     input = new MyInputAction();
 }
Пример #3
0
 private void Awake()
 {
     input   = new MyInputAction();
     cc      = GetComponent <CharacterController>();
     mainCam = Camera.main;
 }