Exemplo n.º 1
0
 void Awake()
 {
     _tails              = new List <GameObject>();
     _tailBehaviours     = new List <TailBehaviour>();
     _scoreTextMesh.text = $"{_scoreText}{score}";
     _movementSystem.SetTransform(transform);
     _movementSystem.SetRigidbody(_rb);
 }
Exemplo n.º 2
0
 private void Awake()
 {
     _movementSystem.SetTransform(transform);
     _movementSystem.SetRigidbody(_rb);
 }