Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Este repositório está arquivado. Você pode visualizar os arquivos e realizar clone, mas não poderá realizar push nem abrir issues e pull requests.

26 linhas
645B

  1. using UnityEngine;
  2. using System.Collections.Generic;
  3. using System.Collections;
  4. namespace coa4u
  5. {
  6. public class State
  7. {
  8. public readonly ActionInstant action;
  9. public readonly Predicate trigger;
  10. public readonly string name;
  11. public State(ActionInstant targetAction, string targetName = "")
  12. {
  13. action = targetAction;
  14. name = targetName;
  15. }
  16. public State(Predicate targetTrigger, ActionInstant targetAction, string targetName = "")
  17. {
  18. trigger = targetTrigger;
  19. action = targetAction;
  20. name = targetName;
  21. }
  22. }
  23. }