protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.InsertSerializedVersion(GetSerializedVersion(container.Version)); node.Add("m_Speed", Speed); node.Add("m_CycleOffset", CycleOffset); node.Add("m_Transitions", Transitions.ExportYAML(container)); node.Add("m_StateMachineBehaviours", StateMachineBehaviours.ExportYAML(container)); node.Add("m_Position", Position.ExportYAML(container)); node.Add("m_IKOnFeet", IKOnFeet); node.Add("m_WriteDefaultValues", WriteDefaultValues); node.Add("m_Mirror", Mirror); node.Add("m_SpeedParameterActive", SpeedParameterActive); node.Add("m_MirrorParameterActive", MirrorParameterActive); node.Add("m_CycleOffsetParameterActive", CycleOffsetParameterActive); node.Add("m_TimeParameterActive", TimeParameterActive); node.Add("m_Motion", Motion.ExportYAML(container)); node.Add("m_Tag", Tag); node.Add("m_SpeedParameter", SpeedParameter); node.Add("m_MirrorParameter", MirrorParameter); node.Add("m_CycleOffsetParameter", CycleOffsetParameter); node.Add("m_TimeParameter", TimeParameter); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.InsertSerializedVersion(ToSerializedVersion(container.ExportVersion)); node.Add(SpeedName, Speed); node.Add(CycleOffsetName, CycleOffset); node.Add(TransitionsName, Transitions.ExportYAML(container)); node.Add(StateMachineBehavioursName, StateMachineBehaviours.ExportYAML(container)); node.Add(PositionName, Position.ExportYAML(container)); node.Add(IKOnFeetName, IKOnFeet); node.Add(WriteDefaultValuesName, WriteDefaultValues); node.Add(MirrorName, Mirror); node.Add(SpeedParameterActiveName, SpeedParameterActive); node.Add(MirrorParameterActiveName, MirrorParameterActive); node.Add(CycleOffsetParameterActiveName, CycleOffsetParameterActive); node.Add(TimeParameterActiveName, TimeParameterActive); node.Add(MotionName, Motion.ExportYAML(container)); node.Add(TagName, Tag); node.Add(SpeedParameterName, SpeedParameter); node.Add(MirrorParameterName, MirrorParameter); node.Add(CycleOffsetParameterName, CycleOffsetParameter); node.Add(TimeParameterName, TimeParameter); return(node); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add(StateName, State.ExportYAML(container)); node.Add(StateMachineBehavioursName, StateMachineBehaviours.ExportYAML(container)); return(node); }
public YAMLNode ExportYAML() { YAMLMappingNode node = new YAMLMappingNode(); node.Add("m_State", State.ExportYAML()); node.Add("m_StateMachineBehaviours", StateMachineBehaviours.ExportYAML()); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.InsertSerializedVersion(GetSerializedVersion(container.ExportVersion)); node.Add(ChildStatesName, ChildStates.ExportYAML(container)); node.Add(ChildStateMachinesName, ChildStateMachines.ExportYAML(container)); node.Add(AnyStateTransitionsName, AnyStateTransitions.ExportYAML(container)); node.Add(EntryTransitionsName, EntryTransitions.ExportYAML(container)); node.Add(StateMachineTransitionsName, StateMachineTransitions.ExportYAML(container)); node.Add(StateMachineBehavioursName, StateMachineBehaviours.ExportYAML(container)); node.Add(AnyStatePositionName, AnyStatePosition.ExportYAML(container)); node.Add(EntryPositionName, EntryPosition.ExportYAML(container)); node.Add(ExitPositionName, ExitPosition.ExportYAML(container)); node.Add(ParentStateMachinePositionName, ParentStateMachinePosition.ExportYAML(container)); node.Add(DefaultStateName, DefaultState.ExportYAML(container)); return(node); }
protected override YAMLMappingNode ExportYAMLRoot(IExportContainer container) { YAMLMappingNode node = base.ExportYAMLRoot(container); node.InsertSerializedVersion(GetSerializedVersion(container.Version)); node.Add("m_ChildStates", ChildStates.ExportYAML(container)); node.Add("m_ChildStateMachines", ChildStateMachines.ExportYAML(container)); node.Add("m_AnyStateTransitions", AnyStateTransitions.ExportYAML(container)); node.Add("m_EntryTransitions", EntryTransitions.ExportYAML(container)); node.Add("m_StateMachineTransitions", StateMachineTransitions.ExportYAMLArrayPPtr(container)); node.Add("m_StateMachineBehaviours", StateMachineBehaviours.ExportYAML(container)); node.Add("m_AnyStatePosition", AnyStatePosition.ExportYAML(container)); node.Add("m_EntryPosition", EntryPosition.ExportYAML(container)); node.Add("m_ExitPosition", ExitPosition.ExportYAML(container)); node.Add("m_ParentStateMachinePosition", ParentStateMachinePosition.ExportYAML(container)); node.Add("m_DefaultState", DefaultState.ExportYAML(container)); return(node); }
protected override YAMLMappingNode ExportYAMLRoot() { YAMLMappingNode node = base.ExportYAMLRoot(); node.AddSerializedVersion(SerializedVersion); node.Add("m_СhildStates", ChildStates.ExportYAML()); node.Add("m_ChildStateMachines", ChildStateMachines.ExportYAML()); node.Add("m_AnyStateTransitions", AnyStateTransitions.ExportYAML()); node.Add("m_EntryTransitions", EntryTransitions.ExportYAML()); node.Add("m_StateMachineTransitions", StateMachineTransitions.ExportYAMLEnum()); node.Add("m_StateMachineBehaviours", StateMachineBehaviours.ExportYAML()); node.Add("m_AnyStatePosition", AnyStatePosition.ExportYAML()); node.Add("m_EntryPosition", EntryPosition.ExportYAML()); node.Add("m_ExitPosition", ExitPosition.ExportYAML()); node.Add("m_ParentStateMachinePosition", ParentStateMachinePosition.ExportYAML()); node.Add("m_DefaultState", DefaultState.ExportYAML()); return(node); }