Esempio n. 1
0
            /// <summary>
            /// Returns the <see cref="StageInfo"/> based on the internal name (<see cref="SceneDef.baseSceneName"/>) of the stage.
            /// </summary>
            public static StageInfo ParseInternalStageName(string internalStageName)
            {
                StageInfo stage;

                stage.stage           = DirectorAPI.ParseInternalStageName(internalStageName);
                stage.CustomStageName = stage.stage is Stage.Custom ? "" : internalStageName;
                return(stage);
            }
Esempio n. 2
0
            /// <summary>
            /// The internal name (<see cref="SceneDef.baseSceneName"/>) of the current stage.
            /// </summary>
            public string ToInternalStageName()
            {
                string internalStageName = DirectorAPI.ToInternalStageName(stage);

                return(internalStageName is "" ? CustomStageName : internalStageName);
            }