選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
このリポジトリはアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュや、課題・プルリクエストのオープンはできません。

26 行
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. }