Exemplo n.º 1
0
 /// <summary>
 /// Tells the WorldBuilder to update the BuildingState
 /// </summary>
 /// <param name="newState">New state.</param>
 void SetBuildingState(WorldBuildingState newState)
 {
     WorldBuilder.Instance.BuildingState = newState;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Tells the WorldBuilder to update the BuildingState
 /// </summary>
 /// <param name="newState">New state.</param>
 void SetBuildingState(WorldBuildingState newState)
 {
     ClientAPI.ScriptObject.GetComponent<WorldBuilder>().BuildingState = newState;
 }