You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- using UnityEngine;
- using System.Collections.Generic;
- using System.Collections;
-
- namespace coa4u
- {
- public class State
- {
- public readonly ActionInstant action;
- public readonly Predicate trigger;
- public readonly string name;
-
- public State(ActionInstant targetAction, string targetName = "")
- {
- action = targetAction;
- name = targetName;
- }
-
- public State(Predicate targetTrigger, ActionInstant targetAction, string targetName = "")
- {
- trigger = targetTrigger;
- action = targetAction;
- name = targetName;
- }
- }
- }
|