Tab
This commit is contained in:
@@ -85,30 +85,6 @@ namespace Demo.Game
|
||||
}
|
||||
if (string.IsNullOrEmpty(clipPath) == false)
|
||||
{
|
||||
/*
|
||||
IEnumerator Run()
|
||||
{
|
||||
#if ENABLE_CLASS_Interaction
|
||||
var clipFile = new Interaction(clipPath);
|
||||
#else
|
||||
var clipFile = new ToolFile(clipPath);
|
||||
#endif
|
||||
if (clipFile.Exists() == false)
|
||||
clipFile = new(MainConfig.GetFile(clipPath).GetFullPath());
|
||||
if (clipFile.Exists() == false)
|
||||
{
|
||||
Debug.LogError($"Cannt load {clipPath}", this);
|
||||
yield break;
|
||||
}
|
||||
yield return MainAudio.LoadAudio(clipFile, audioType);
|
||||
content.SongLoadOverCallback(MainAudio);
|
||||
yield return GameAudioSystemInit();
|
||||
}
|
||||
|
||||
StartCoroutine(Run());
|
||||
*/
|
||||
|
||||
|
||||
#if ENABLE_CLASS_Interaction
|
||||
var clipFile = new Interaction(clipPath);
|
||||
#else
|
||||
@@ -139,6 +115,8 @@ namespace Demo.Game
|
||||
{
|
||||
// Config ScriptableObject
|
||||
{
|
||||
ScriptableObject.EnableScriptableObjectCounter = 0;
|
||||
ScriptableObject.ApplyScriptableObjectCounter = 0;
|
||||
ScriptableObject.FastScriptableObjectTypen = content.ScriptableObjectTypen;
|
||||
ScriptableObject.IsAutoPlay = content.IsAutoPlay;
|
||||
ScriptableObject.OneBarTime = 60.0f / (float)MainConfig.FindItem(nameof(Editor.EditorController.BPM), Editor.EditorController.instance.BPM);
|
||||
|
||||
Reference in New Issue
Block a user