Пример #1
0
 private void Start()
 {
     PA     = GameObject.Find("Player").GetComponent <PlayerAim>();
     astick = GameObject.Find("AimBack").GetComponent <Aimstick>();
 }
Пример #2
0
 private void Start()
 {
     rb     = GameObject.Find("Player").GetComponent <Rigidbody2D>();
     astick = GameObject.Find("AimBack").GetComponent <Aimstick>();
 }