Spaces:
Runtime error
Runtime error
using Photon.Deterministic; | |
using System; | |
namespace Quantum | |
{ | |
public partial class HFSMTransitionSet | |
{ | |
public string Label; | |
public AssetRefHFSMDecision PrerequisiteLink; | |
public HFSMTransition[] Transitions; | |
[ | ]|
public HFSMDecision Prerequisite; | |
public override void Loaded(IResourceManager resourceManager, Native.Allocator allocator) | |
{ | |
base.Loaded(resourceManager, allocator); | |
Prerequisite = (HFSMDecision)resourceManager.GetAsset(PrerequisiteLink.Id); | |
if (Transitions != null) | |
{ | |
for (int i = 0; i < Transitions.Length; i++) | |
{ | |
Transitions[i].Setup(resourceManager); | |
} | |
} | |
} | |
} | |
} | |