StoryE17MoveIn.cs 457 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. public class StoryE17MoveIn : BaseBehaviour
  3. {
  4. private int E17MoveIn
  5. {
  6. get
  7. {
  8. return RoundStorage.Get("E17_MoveIn", 0);
  9. }
  10. set
  11. {
  12. RoundStorage.Set("E17_MoveIn", value);
  13. }
  14. }
  15. private bool E17P1
  16. {
  17. get
  18. {
  19. return RoundStorage.Get("E17P1", true);
  20. }
  21. set
  22. {
  23. RoundStorage.Set("E17P1", value);
  24. }
  25. }
  26. private void Start()
  27. {
  28. if (!this.E17P1)
  29. {
  30. this.E17MoveIn = 1;
  31. }
  32. }
  33. }