Exemplo n.º 1
0
 private void Awake()
 {
     growing = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerGrowing>();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     rb      = GetComponent <Rigidbody2D>();
     growing = GetComponent <PlayerGrowing>();
     attack  = GetComponent <PlayerAttack>();
 }