Exemple #1
0
 void Awake()
 {
     healthy  = GetComponent <Healthy>();
     collider = GetComponent <CircleCollider2D>();
 }
Exemple #2
0
 void Awake()
 {
     _transform = GetComponent <Transform>();
     _collider  = GetComponent <CircleCollider2D>();
     _healthy   = GetComponent <Healthy>();
 }