private void Awake() { _moveable = GetComponent <IMoveable>(); _rigidbody = GetComponent <Rigidbody>(); _weapon.Init(this); Score = new UnitScore(0, (uint)PlayerPrefs.GetInt("Record", 0)); }
public PlayerScore(string battleTag, UnitScore unitScore, List <Hero> heroes, HeroScore heroScore, ResourceScore resourceScore) { BattleTag = battleTag; UnitScore = unitScore; Heroes = heroes; HeroScore = heroScore; ResourceScore = resourceScore; }