private void OnEnable() { PlayerVirusHead.Singletone.OnPeopleEat += UpdatePlayerScore; PlayerVirusHead.Singletone.OnKillingVirus += UpdatePlayerKillsCounter; PlayerScoreComponent = PlayerVirusHead.Singletone.Score; }
internal virtual void Awake() { LastTail = gameObject; Score = gameObject.AddComponent <VirusScore>(); }