Exemple #1
0
 private void Awake()
 {
     pic = GetComponent <PlayerInputController>();
     if (pic != null && player != null && field != null)
     {
         pic.player = player;
         player.SetBounds(field.GetBounds());
     }
 }