Esempio n. 1
0
 private void Awake()
 {
     _material   = GetComponent <Renderer>().material;
     _lengthFly  = Random.Range(1.0f, 3.0f);
     _playerBall = base.FindPlayer();
 }
Esempio n. 2
0
 private void Awake()
 {
     _lengthFly     = Random.Range(1.0f, 5.0f);
     _speedRotation = Random.Range(10.0f, 50.0f);
     _playerBall    = base.FindPlayer();
 }
Esempio n. 3
0
 private void Awake()
 {
     _playerBall = FindObjectOfType <PlayerBall>();
 }