//---------------------------------------------------------------------------------- public CNEffectEditor(CNGroup data, CommandNodeEditorState state) : base(data, state) { fxData_ = cnManager.FxData; effectData_ = fxData_.effect; selectedScopeIdx_ = (int)Data.CaronteFX_scope; }
//----------------------------------------------------------------------------------- public CNServosEditor(CNServos data, CommandNodeEditorState state) : base(data, state) { Data = (CNServos)data; if (Data.TargetExternal_LOCAL_NEW == null) { Data.TargetExternal_LOCAL_NEW = new CarVector3Curve(Data.TargetExternal_LOCAL, cnManager.FxData.effect.totalTime_); } }
public CommandNodeEditor(CommandNode data, CommandNodeEditorState state) { cnManager = CarManager.Instance; cnHierarchy = cnManager.Hierarchy; eManager = cnManager.EntityManager; goManager = cnManager.GOManager; Data = data; state_ = state; styleTitle.fontSize = 20; styleTitle.fontStyle = FontStyle.Bold; styleTitle.alignment = TextAnchor.LowerLeft; }
public CNScriptPlayerEditor(CNScriptPlayer data, CommandNodeEditorState state) : base(data, state) { Data = (CNScriptPlayer)data; Assembly editorAssembly = GetEditorAssembly(); // Get all classes derived from CRSimulationScript simulationScriptTypes_ = (from t in editorAssembly.GetTypes() where t.IsSubclassOf(typeof(CarSimulationScript)) select t).ToArray(); simulationScriptNames_ = new string[simulationScriptTypes_.Length]; for (int i = 0; i < simulationScriptTypes_.Length; i++) { simulationScriptNames_[i] = simulationScriptTypes_[i].Name; } RefreshSimulationScript(); }
public CNSpeedLimiterEditor(CNSpeedLimiter data, CommandNodeEditorState state) : base(data, state) { Data = data; }
public CNMeshToolEditor(CNMonoField data, CommandNodeEditorState state) : base(data, state) { }
//----------------------------------------------------------------------------------- public CNServosEditor(CNServos data, CommandNodeEditorState state) : base(data, state) { Data = (CNServos)data; }
public CNTessellatorEditor(CNTessellator data, CommandNodeEditorState state) : base(data, state) { Data = (CNTessellator)data; }
public CNTriggerByContactEditor(CNTriggerByContact data, CommandNodeEditorState state) : base(data, state) { Data = (CNTriggerByContact)data; }
public CNJetEditor(CNJet data, CommandNodeEditorState state) : base(data, state) { Data = data; }
public CNContactEmitterEditor(CNContactEmitter data, CommandNodeEditorState state) : base(data, state) { Data = (CNContactEmitter)data; }
public CNFractureEditor(CNFracture data, CommandNodeEditorState state) : base(data, state) { Data = (CNFracture)data; }
public CNHelperMeshEditor(CNHelperMesh data, CommandNodeEditorState state) : base(data, state) { Data = (CNHelperMesh)data; }
public CNGroupEditor(CNGroup data, CommandNodeEditorState state) : base(data, state) { Data = (CNGroup)data; }
public CNBalltreeGeneratorEditor(CNBalltreeGenerator data, CommandNodeEditorState state) : base(data, state) { Data = (CNBalltreeGenerator)data; }
public CNAimedFallEditor(CNAimedFall data, CommandNodeEditorState state) : base(data, state) { Data = (CNAimedFall)data; }
public CNParameterModifierEditor(CNParameterModifier data, CommandNodeEditorState state) : base(data, state) { Data = (CNParameterModifier)data; }
//----------------------------------------------------------------------------------- public CNJointGroupsEditor(CNJointGroups data, CommandNodeEditorState state) : base(data, state) { Data = (CNJointGroups)data; }
public CNTriggerByExplosionEditor(CNTriggerByExplosion data, CommandNodeEditorState state) : base(data, state) { Data = (CNTriggerByExplosion)data; }
public CNSelectorEditor(CNSelector data, CommandNodeEditorState state) : base(data, state) { Data = (CNSelector)data; }
public CNSubstituterEditor(CNSubstituter data, CommandNodeEditorState state) : base(data, state) { Data = (CNSubstituter)data; }
public CNMonoFieldEditor(CNMonoField data, CommandNodeEditorState state) : base(data, state) { Data = (CNMonoField)data; }
public CNAimedForceEditor(CNAimedForce data, CommandNodeEditorState state) : base(data, state) { Data = (CNAimedForce)data; }
public CNTriggerByForceEditor(CNTriggerByForce data, CommandNodeEditorState state) : base(data, state) { Data = (CNTriggerByForce)data; }
public CNEntityEditor(CNEntity data, CommandNodeEditorState state) : base(data, state) { Data = (CNEntity)data; }
public CNEffectExtendedEditor(CNGroup data, CommandNodeEditorState state) : base(data, state) { }
public CNTriggerEditor(CNTrigger data, CommandNodeEditorState state) : base(data, state) { }
//----------------------------------------------------------------------------------- public CNRigidGlueEditor(CNJointGroups data, CommandNodeEditorState state) : base(data, state) { }
public CNWelderEditor(CNWelder data, CommandNodeEditorState state) : base(data, state) { Data = (CNWelder)data; }
public CNTriggerByDetectorEditor(CNTriggerByDetector data, CommandNodeEditorState state) : base(data, state) { Data = (CNTriggerByDetector)data; }