some old local changes
This commit is contained in:
26
Assets/scripts/coa4uext/CoreClasses/State.cs
Executable file
26
Assets/scripts/coa4uext/CoreClasses/State.cs
Executable file
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
8
Assets/scripts/coa4uext/CoreClasses/State.cs.meta
Executable file
8
Assets/scripts/coa4uext/CoreClasses/State.cs.meta
Executable file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ebc37cf537501dd4f9290a911cb5b757
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
Reference in New Issue
Block a user