GetArenaRoundTaskAction.cs 737 B

12345678910111213141516171819202122232425262728
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using NodeCanvas.Framework;
  5. using ParadoxNotion.Design;
  6. //using KairoEngine.Gameplay.Arena;
  7. namespace KairoEngine
  8. {
  9. // Todo: Refactor not to reference the ArenaControllerV2 directly
  10. [Category("KairoEngine")]
  11. public class GetArenaRoundTaskAction : ActionTask
  12. {
  13. [BlackboardOnly, RequiredField] public BBParameter<int> round;
  14. protected override void OnExecute()
  15. {
  16. /*
  17. ArenaControllerV2 arenaController = ArenaControllerV2.instance;
  18. if(arenaController == null) return;
  19. round.value = arenaController.round;
  20. EndAction(true);
  21. */
  22. }
  23. }
  24. }