public void switchScene(SceneControllerActionType type) { switch (type) { case (SceneControllerActionType.START_FIRST_SCENE): LoadStartingScene(); break; default: Debug.LogError("unrecognized SceneControllerActionType "); break; } }
public void SceneControllerAction(SceneControllerActionType type) { switch (type) { case (SceneControllerActionType.NONE): Debug.LogError("UnAssigned Button SceneControllerAction"); break; default: Debug.LogError("SceneControllerAction unimplemented switch case"); break; } }