Пример #1
0
 public void SetPlayer(Player _player)
 {
     player        = _player;
     controller    = player.GetComponent <PlayerController>();
     weaponManager = player.GetComponent <WeaponManager>();
 }