private static string TextTypeToText(eTextType textType) { switch (textType) { case eTextType.Broadcast: return(Resources.textTypeBroadcast); case eTextType.Dialog: return(Resources.textTypeDialog); case eTextType.Emote: return(Resources.textTypeEmote); case eTextType.Read: return(Resources.textTypeRead); default: return(Resources.textTypeNone); } }
private void RegisterFile(eTextType type, string line) { //print( "Raw file : " + line ); if( line == "TextData" ) { type = eTextType.TextData; } else if( line == "CommandSequence" ) { type = eTextType.CommandSequence; } else if( line == "background" ) { type = eTextType.Background; } else if( type == eTextType.CommandSequence ) { //StringParser.Instance.CommandParser( line ); } else if( type == eTextType.Background ) { StringParser.Instance.BackgroundReader( line, ref SceneManager.Instance.backgroundLookup ); } }
private static string TextTypeToText(eTextType textType) { switch (textType) { case eTextType.Broadcast: return Resources.textTypeBroadcast; case eTextType.Dialog: return Resources.textTypeDialog; case eTextType.Emote: return Resources.textTypeEmote; case eTextType.Read: return Resources.textTypeRead; default: return Resources.textTypeNone; } }