同步
This commit is contained in:
@@ -10,12 +10,12 @@ namespace Ichni
|
||||
public class SongPlayer : SerializedMonoBehaviour
|
||||
{
|
||||
public bool isLoading = true;
|
||||
public bool isStarting = true;
|
||||
public bool isStarting = false;
|
||||
public bool isDelaying = false;
|
||||
public bool isPlaying = false; // 是否正在播放音乐
|
||||
public bool isPausing = false; // 是否正在暂停音乐
|
||||
public bool isFinished = false;
|
||||
public bool isUpdating => isDelaying || isPlaying;
|
||||
public bool isUpdating => isStarting || isDelaying || isPlaying;
|
||||
|
||||
public Event PlayMusicEvent; // 播放背景音乐的事件
|
||||
public Event ResumeMusicEvent; // 恢复播放背景音乐的事件
|
||||
@@ -35,7 +35,7 @@ namespace Ichni
|
||||
InformationTransistor.instance.chapterSwitch.SetValue(gameObject);
|
||||
InformationTransistor.instance.songSwitch.SetValue(gameObject);
|
||||
isLoading = true;
|
||||
isStarting = true;
|
||||
isStarting = false;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
|
||||
Reference in New Issue
Block a user