-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Studio-23-xyz/Timeline-support
Timeline support
- Loading branch information
Showing
43 changed files
with
2,809 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Assets/Packages/com.studio23.ss2.dialoguesystem/Runtime/Utility/EditorLocaleSetter.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
.../com.studio23.ss2.dialoguesystem/Runtime/Utility/EditorLocaleSetter/EditorLocaleSetter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Linq; | ||
using UnityEditor; | ||
using UnityEngine; | ||
using UnityEngine.Localization; | ||
using UnityEngine.Localization.Settings; | ||
# if UNITY_EDITOR | ||
namespace Studio23.SS2.DialogueSystem.Utility.EditorLocaleSetter | ||
{ | ||
[InitializeOnLoad] | ||
public static class EditorLocaleSetter | ||
{ | ||
static EditorLocaleSetter() | ||
{ | ||
if (LocalizationSettings.SelectedLocale == null) | ||
{ | ||
LocalizationSettings.SelectedLocale = LocalizationSettings.AvailableLocales.Locales.FirstOrDefault(l => l.Identifier.ToString().ToLower().Contains("english") ); | ||
Debug.Log("SELECTED LOCALE SET TO " + (LocalizationSettings.SelectedLocale == null ? "null": LocalizationSettings.SelectedLocale)); | ||
} | ||
} | ||
} | ||
} | ||
#endif |
3 changes: 3 additions & 0 deletions
3
...studio23.ss2.dialoguesystem/Runtime/Utility/EditorLocaleSetter/EditorLocaleSetter.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
Assets/Packages/com.studio23.ss2.dialoguesystem/Runtime/View.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
Assets/Packages/com.studio23.ss2.dialoguesystem/Runtime/View/DialogueUIBase.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Studio23.SS2.DialogueSystem.Data; | ||
using UnityEngine; | ||
|
||
namespace Studio23.SS2.DialogueSystem.View | ||
{ | ||
public abstract class DialogueUIBase : MonoBehaviour | ||
{ | ||
public abstract void ShowUI(); | ||
public abstract void HideUI(); | ||
protected abstract void HandleDialogueChoiceEnded(DialogueChoicesNode obj); | ||
protected abstract void HandleDialogueChoiceStarted(DialogueChoicesNode obj); | ||
public abstract void ShowDialogueLineImmediate(DialogueLineNodeBase node); | ||
protected abstract void HandleDialogueLineCompleted(DialogueLineNodeBase dialogueLineNodeBase); | ||
protected abstract void HandleDialogueLineStarted(DialogueLineNodeBase dialogueLineNodeBase); | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Assets/Packages/com.studio23.ss2.dialoguesystem/Runtime/View/DialogueUIBase.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.