Patch_VideoCommand.cs 328 B

1234567891011121314151617
  1. using Blue;
  2. public struct Patch_VideoCommand : ICommand
  3. {
  4. private bool set;
  5. public Patch_VideoCommand(bool set)
  6. {
  7. this.set = set;
  8. }
  9. public void OnExcute()
  10. {
  11. this.SendEvent<Patch_VideoEvent>(new Patch_VideoEvent()
  12. {
  13. set = this.set
  14. });
  15. }
  16. }