AI State Machine First Pass
Implemented first pass on code-driven state machine logic for flexible AI agents
This commit is contained in:
parent
79b0c036cb
commit
8d4bd04891
26 changed files with 489 additions and 137 deletions
|
|
@ -9,16 +9,16 @@ using static Unity.Mathematics.math;
|
|||
[InspectableField, MessagePackObject, JsonObject(MemberSerialization.OptIn), RuntimeInspectable]
|
||||
public class InstantWeaponData : WeaponData
|
||||
{
|
||||
[InspectableField, JsonProperty("count"), Key(15)]
|
||||
[InspectableField, JsonProperty("count"), Key(17)]
|
||||
public PerformanceStat Count = new PerformanceStat();
|
||||
|
||||
[InspectableField, JsonProperty("burstTime"), Key(16)]
|
||||
[InspectableField, JsonProperty("burstTime"), Key(18)]
|
||||
public PerformanceStat BurstTime = new PerformanceStat();
|
||||
|
||||
[InspectableField, JsonProperty("cooldown"), Key(17), RuntimeInspectable]
|
||||
[InspectableField, JsonProperty("cooldown"), Key(19), RuntimeInspectable]
|
||||
public PerformanceStat Cooldown = new PerformanceStat();
|
||||
|
||||
[InspectablePrefab, JsonProperty("ammoInterval"), Key(18)]
|
||||
[InspectablePrefab, JsonProperty("ammoInterval"), Key(20)]
|
||||
public bool SingleAmmoBurst;
|
||||
|
||||
public override IBehavior CreateInstance(ItemManager context, Entity entity, EquippedItem item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue