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