// Methods public StateConfiguration IsInitialState() { if (_owningMachine._initialStateConfigured) { throw new SolidStateException(SolidStateConstants.ErrorMultipleInitialStates, "The state machine cannot have multiple states configured as the initial state!"); } _owningMachine.SetInitialState(this); return(this); }
// Methods public StateConfiguration IsInitialState() { if (_owningMachine._initialStateConfigured) { Debug.LogError("The state machine cannot have multiple states configured as the initial state!"); return(this); } _owningMachine.SetInitialState(this); return(this); }