Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
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;
- }
- }
- }
|