/// <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); }
/// <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); }