Esempio n. 1
0
 void Awake()
 {
     S = this;
     rb2D = GetComponent<Rigidbody2D>();
 }
Esempio n. 2
0
 void Awake()
 {
     S    = this;
     body = GetComponent <Rigidbody2D>();
 }