diff --git a/Assets/Fungus/Narrative/Scripts/Character.cs b/Assets/Fungus/Narrative/Scripts/Character.cs index e7dfe891..03a1fa5e 100644 --- a/Assets/Fungus/Narrative/Scripts/Character.cs +++ b/Assets/Fungus/Narrative/Scripts/Character.cs @@ -59,9 +59,7 @@ namespace Fungus activeCharacters.Remove(this); } - // - // ILocalizable implementation - // + #region ILocalizable implementation public virtual string GetStandardText() { @@ -112,5 +110,7 @@ namespace Fungus // String id for character names is CHARACTER. return "CHARACTER." + nameText; } + + #endregion } } diff --git a/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs b/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs index d932f845..c26d1bd2 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs @@ -90,10 +90,8 @@ namespace Fungus return new Color32(184, 210, 235, 255); } - // - // ILocalizable implementation - // - + #region ILocalizable implementation + public virtual string GetStandardText() { return text; @@ -114,5 +112,7 @@ namespace Fungus // String id for Menu commands is MENU.. return "MENU." + GetFlowchartLocalizationId() + "." + itemId; } + + #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs index 051e6f2c..af16d0da 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs @@ -145,10 +145,8 @@ namespace Fungus sayDialog.Stop(); } - // - // ILocalizable implementation - // - + #region ILocalizable implementation + public virtual string GetStandardText() { return storyText; @@ -175,5 +173,7 @@ namespace Fungus return stringId; } + + #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/UI/Scripts/Commands/SetText.cs b/Assets/Fungus/UI/Scripts/Commands/SetText.cs index 45303206..8dde092a 100644 --- a/Assets/Fungus/UI/Scripts/Commands/SetText.cs +++ b/Assets/Fungus/UI/Scripts/Commands/SetText.cs @@ -90,10 +90,8 @@ namespace Fungus } } - // - // ILocalizable implementation - // - + #region ILocalizable implementation + public virtual string GetStandardText() { return text; @@ -114,5 +112,7 @@ namespace Fungus // String id for Set Text commands is SETTEXT.. return "SETTEXT." + GetFlowchartLocalizationId() + "." + itemId; } + + #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/UI/Scripts/Commands/Write.cs b/Assets/Fungus/UI/Scripts/Commands/Write.cs index 3f2c4478..d4ecf3d2 100644 --- a/Assets/Fungus/UI/Scripts/Commands/Write.cs +++ b/Assets/Fungus/UI/Scripts/Commands/Write.cs @@ -118,9 +118,7 @@ namespace Fungus GetWriter().Stop(); } - // - // ILocalizable implementation - // + #region ILocalizable implementation public virtual string GetStandardText() { @@ -142,5 +140,7 @@ namespace Fungus // String id for Write commands is WRITE.. return "WRITE." + GetFlowchartLocalizationId() + "." + itemId; } + + #endregion } } \ No newline at end of file diff --git a/Assets/Fungus/UI/Scripts/Writer.cs b/Assets/Fungus/UI/Scripts/Writer.cs index 1e6f9d8b..9d5d36cd 100644 --- a/Assets/Fungus/UI/Scripts/Writer.cs +++ b/Assets/Fungus/UI/Scripts/Writer.cs @@ -895,9 +895,8 @@ namespace Fungus } } - // - // IDialogInputListener implementation - // + #region IDialogInputListener implementation + public virtual void OnNextLineEvent() { inputFlag = true; @@ -907,5 +906,7 @@ namespace Fungus NotifyInput(); } } + + #endregion } } diff --git a/Assets/Fungus/UI/Scripts/WriterAudio.cs b/Assets/Fungus/UI/Scripts/WriterAudio.cs index 6acd9522..9c908329 100644 --- a/Assets/Fungus/UI/Scripts/WriterAudio.cs +++ b/Assets/Fungus/UI/Scripts/WriterAudio.cs @@ -171,9 +171,7 @@ namespace Fungus targetAudioSource.volume = Mathf.MoveTowards(targetAudioSource.volume, targetVolume, Time.deltaTime * 5f); } - // - // IWriterListener implementation - // + #region IWriterListener implementation public virtual void OnInput() { @@ -247,5 +245,7 @@ namespace Fungus } } } + + #endregion } } \ No newline at end of file