Exemple #1
0
 protected override void Awake()
 {
     base.Awake();
     _globalGame = FindObjectOfType <GlobalGame>();
     _globalGame.AddUnit(this);
     _numberText.text = $"{number}";
     _lastPosition    = transform.position;
 }