private void Fill() { specialty = HexSpecialties.None; StartCoroutine(Rise(FILL_RISE_PER_SECOND + UnityEngine.Random.Range(-FILL_RISE_RANDOMISER, FILL_RISE_RANDOMISER))); SetMaterial(HexMap.instance.GetHexColouredMaterial(materialIndex)); }
public void Soften() { specialty = HexSpecialties.None; StartCoroutine(Fall()); }
private void BecomeAnEnemy() { specialty = HexSpecialties.Enemy; StartCoroutine(Rise(12)); SetMaterial(HexMap.instance.EnemyHexMat); }
private void Harden() { specialty = HexSpecialties.Hard; StartCoroutine(Rise(12)); SetMaterial(HexMap.instance.hardHexMat); }