You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.2 KiB
79 lines
1.2 KiB
using System.Collections; |
|
using System.Collections.Generic; |
|
using UnityEngine; |
|
using AX.MessageSystem; |
|
|
|
public static class ReplaySetting |
|
{ |
|
private static PlayStatus playStatus = PlayStatus.normal; |
|
|
|
public static PlayStatus PlayStatus |
|
{ |
|
get |
|
{ |
|
return playStatus; |
|
} |
|
set |
|
{ |
|
playStatus = value; |
|
MessageDispatcher.SendMessage("PlayStatusChanged"); |
|
} |
|
} |
|
} |
|
|
|
public enum PlayStatus |
|
{ |
|
/// <summary> |
|
/// 正常 |
|
/// </summary> |
|
normal, |
|
|
|
/// <summary> |
|
/// 回放 |
|
/// </summary> |
|
isReplay, |
|
|
|
/// <summary> |
|
/// 编辑 |
|
/// </summary> |
|
isEditor |
|
} |
|
public enum RecordStatus |
|
{ |
|
/// <summary> |
|
/// 正常 |
|
/// </summary> |
|
normal, |
|
|
|
/// <summary> |
|
/// 暂停 |
|
/// </summary> |
|
pause |
|
} |
|
public enum ReplayStatus |
|
{ |
|
/// <summary> |
|
/// 正常 |
|
/// </summary> |
|
normal, |
|
|
|
/// <summary> |
|
/// 暂停 |
|
/// </summary> |
|
pause, |
|
/// <summary> |
|
/// 完成 |
|
/// </summary> |
|
over, |
|
} |
|
public enum PlayModel |
|
{ |
|
/// <summary> |
|
/// 查看模式 |
|
/// </summary> |
|
view, |
|
/// <summary> |
|
/// 编辑模式 |
|
/// </summary> |
|
editor |
|
}
|
|
|