コード例 #1
0
    public void switchScene(SceneControllerActionType type)
    {
        switch (type)
        {
        case (SceneControllerActionType.START_FIRST_SCENE):

            LoadStartingScene();
            break;

        default:
            Debug.LogError("unrecognized  SceneControllerActionType ");
            break;
        }
    }
コード例 #2
0
    public void SceneControllerAction(SceneControllerActionType type)
    {
        switch (type)
        {
        case (SceneControllerActionType.NONE):
            Debug.LogError("UnAssigned Button SceneControllerAction");

            break;

        default:
            Debug.LogError("SceneControllerAction unimplemented switch case");
            break;
        }
    }