public void SetSity(Corditanes Place, string Name, float Pheromon, int SityID) { SityPlace = Place; SityObject.transform.position = SityPlace.ToPosition(new Vector3(0, 0, 0), 7.5f); SityName = Name; ID = SityID; PheromoneLevel = Pheromon; }
public void UpdatePosition() { InsectObject.transform.position = Place.ToPosition(new Vector3(0, 0, 0), 7.5f); }