Esempio n. 1
0
 void Awake()
 {
     player = GetComponent<Player>();
     renderer = GetComponent<SpriteRenderer>();
     animator = GetComponent<Animator>();
 }
Esempio n. 2
0
 void Awake()
 {
     rigidBody2D = GetComponent<Rigidbody2D>();
     player = GetComponent<Player>();
     RandomizeStatus();
 }