25 lines
714 B
C#
25 lines
714 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Convention;
|
|
using UnityEngine;
|
|
|
|
namespace Demo.Game
|
|
{
|
|
[Serializable]
|
|
partial class GameContent : MonoSingleton<GameContent>
|
|
{
|
|
[Header("Datas")]
|
|
public string RootSourceDir = "";
|
|
public bool IsCreateNewProject = false;
|
|
public Dictionary<string, Type> ScriptableObjectTypen = new();
|
|
public bool IsAutoPlay = false;
|
|
[Header("Timeline")]
|
|
public Action<float, float> SetupSongDuration;
|
|
public Action<float> SetSongCurrentTime;
|
|
public Action<BasicAudioSystem> SongLoadOverCallback;
|
|
public float SongOffset;
|
|
|
|
public override bool IsDontDestroyOnLoad => true;
|
|
}
|
|
}
|