Example #1
0
 /// <summary>
 /// Activate the new environment and deactivate the old one. Change other settings as necessary
 /// </summary>
 public override void Tick()
 {
     environment.Find(newPlace.ToString()).gameObject.SetActive(true);
     environment.Find(oldPlace.ToString()).gameObject.SetActive(false);
     RenderSettings.ambientLight = ambientColor;
     SetStatus(Task.TaskStatus.Success);
 }