12345678910111213141516171819202122232425 |
- using Blue;
- /// <summary>
- /// Immersal定位上传事件
- /// </summary>
- public class SetImmersalLocalEvent : IEvent
- {
- public bool isLocation;
- }
- /// <summary>
- /// 设置Immersal定位上传命令
- /// </summary>
- public class SetImmersalLocalCommand : ICommand
- {
- private bool isLocation;
- public SetImmersalLocalCommand(bool isLocation)
- {
- this.isLocation = isLocation;
- }
- public void OnExcute()
- {
- this.SendEvent<SetImmersalLocalEvent>(new SetImmersalLocalEvent(){isLocation = this.isLocation});
- }
- }
|