public void SetStance(PlantStance stance) { switch (stance) { case PlantStance.enemy: renderer.sharedMaterial = enemyMat; break; case PlantStance.friendly: renderer.sharedMaterial = friendlyMat; break; } }
public void ClearInfection() { stance = PlantStance.enemy; }
public void InfectPlant() { stance = PlantStance.friendly; }