Esempio n. 1
0
 public void Reset ()
 {
     chair = null;
     hasChair = false;
     state = tableStates.FREE;
 }
Esempio n. 2
0
	public void reset()
	{
		state = tableStates.FREE;
		if (hasChair) {
			NavMeshObstacle mesh = chair.GetComponent<NavMeshObstacle>();
			PlaceableObject theChair = chair.GetComponent<PlaceableObject>();
			theChair.taken = true;
			mesh.carving = true;
		}
	}