public override void DeepClone(List<System.Action<System.Func<IntelligenceState, IntelligenceState>>> stateCloneCallbacks) { if (action) { action = Instantiate(action); action.DeepClone(stateCloneCallbacks); } }
public override void DeepClone(List<Action<Func<IntelligenceState, IntelligenceState>>> stateCloneCallbacks) { if (ifAction) { ifAction = Instantiate(ifAction); ifAction.DeepClone(stateCloneCallbacks); } if (thenAction) { thenAction = Instantiate(thenAction); thenAction.DeepClone(stateCloneCallbacks); } }