//----------------------------------------------------------------------------------
        public CNEffectEditor(CNGroup data, CommandNodeEditorState state)
            : base(data, state)
        {
            fxData_     = cnManager.FxData;
            effectData_ = fxData_.effect;

            selectedScopeIdx_ = (int)Data.CaronteFX_scope;
        }
예제 #2
0
        //-----------------------------------------------------------------------------------
        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_);
            }
        }
예제 #3
0
        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;
        }
예제 #4
0
        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;
 }
예제 #6
0
 public CNMeshToolEditor(CNMonoField data, CommandNodeEditorState state)
     : base(data, state)
 {
 }
예제 #7
0
 //-----------------------------------------------------------------------------------
 public CNServosEditor(CNServos data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNServos)data;
 }
예제 #8
0
 public CNTessellatorEditor(CNTessellator data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNTessellator)data;
 }
예제 #9
0
 public CNTriggerByContactEditor(CNTriggerByContact data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNTriggerByContact)data;
 }
예제 #10
0
 public CNJetEditor(CNJet data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = data;
 }
예제 #11
0
 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;
 }
예제 #16
0
 public CNAimedFallEditor(CNAimedFall data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNAimedFall)data;
 }
 public CNParameterModifierEditor(CNParameterModifier data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNParameterModifier)data;
 }
예제 #18
0
 //-----------------------------------------------------------------------------------
 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;
 }
예제 #21
0
 public CNSubstituterEditor(CNSubstituter data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNSubstituter)data;
 }
 public CNMonoFieldEditor(CNMonoField data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNMonoField)data;
 }
예제 #23
0
 public CNAimedForceEditor(CNAimedForce data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNAimedForce)data;
 }
예제 #24
0
 public CNTriggerByForceEditor(CNTriggerByForce data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNTriggerByForce)data;
 }
 public CNEntityEditor(CNEntity data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNEntity)data;
 }
예제 #26
0
 public CNEffectExtendedEditor(CNGroup data, CommandNodeEditorState state)
     : base(data, state)
 {
 }
예제 #27
0
 public CNTriggerEditor(CNTrigger data, CommandNodeEditorState state)
     : base(data, state)
 {
 }
예제 #28
0
 //-----------------------------------------------------------------------------------
 public CNRigidGlueEditor(CNJointGroups data, CommandNodeEditorState state)
     : base(data, state)
 {
 }
예제 #29
0
 public CNWelderEditor(CNWelder data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNWelder)data;
 }
 public CNTriggerByDetectorEditor(CNTriggerByDetector data, CommandNodeEditorState state)
     : base(data, state)
 {
     Data = (CNTriggerByDetector)data;
 }