C# Class ParticleSystemCurveEditor, UnityDecompiled

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
AddCurve ( CurveData, curveData ) : void
AddCurveDataIfNeeded ( string curveName, CurveData, curveData ) : void
GetAvailableColor ( ) : Color
GetCurveColor ( UnityEditor.SerializedProperty max ) : Color
Init ( ) : void
IsAdded ( UnityEditor.SerializedProperty max ) : bool
IsAdded ( UnityEditor.SerializedProperty min, UnityEditor.SerializedProperty max ) : bool
OnDestroy ( ) : void
OnDisable ( ) : void
OnGUI ( Rect rect ) : void
Refresh ( ) : void
RemoveCurve ( UnityEditor.SerializedProperty max ) : void
RemoveCurve ( UnityEditor.SerializedProperty min, UnityEditor.SerializedProperty max ) : void
SetVisible ( UnityEditor.SerializedProperty curveProp, bool visible ) : void

Private Methods

Method Description
Add ( CurveData, cd ) : void
ContentChanged ( ) : void
CreateCurveWrapper ( UnityEditor.SerializedProperty curve, int id, int regionId, Color color, bool signedRange, CurveWrapper getAxisScalarsCallback, CurveWrapper setAxisScalarsCallback ) : CurveWrapper
CreateCurveWrapperArray ( ) : UnityEditor.CurveWrapper[]
CreateDoubleCurveFromTopMostCurve ( ) : DoubleCurve
DoLabelForTopMostCurve ( Rect rect ) : void
DoOptimizeCurveButton ( Rect rect ) : void
DoRemoveSelectedButton ( Rect rect ) : void
FindIndex ( UnityEditor.SerializedProperty prop ) : int
FindIndex ( UnityEditor.SerializedProperty min, UnityEditor.SerializedProperty max ) : int
InitDoubleCurvePresets ( ) : void
PresetCurveButtons ( Rect position, Rect curveEditorRect ) : void
PresetDropDown ( Rect rect ) : void
Remove ( int index ) : bool
RemoveAll ( ) : void
RemoveSelected ( ) : void
RemoveTopMost ( ) : void
SameColor ( Color c1, Color c2 ) : bool
SaveChangedCurves ( ) : void
SaveCurve ( UnityEditor.SerializedProperty prop, CurveWrapper cw ) : void
SetConstantCurve ( CurveWrapper cw, float constantValue ) : void
SetCurve ( CurveWrapper cw, AnimationCurve curve ) : void
SetTopMostCurve ( DoubleCurve doubleCurve ) : void
UndoRedoPerformed ( ) : void
UpdateRangeBasedOnShownCurves ( ) : void

Method Details

AddCurve() public method

public AddCurve ( CurveData, curveData ) : void
curveData CurveData,
return void

AddCurveDataIfNeeded() public method

public AddCurveDataIfNeeded ( string curveName, CurveData, curveData ) : void
curveName string
curveData CurveData,
return void

GetAvailableColor() public method

public GetAvailableColor ( ) : Color
return Color

GetCurveColor() public method

public GetCurveColor ( UnityEditor.SerializedProperty max ) : Color
max UnityEditor.SerializedProperty
return Color

Init() public method

public Init ( ) : void
return void

IsAdded() public method

public IsAdded ( UnityEditor.SerializedProperty max ) : bool
max UnityEditor.SerializedProperty
return bool

IsAdded() public method

public IsAdded ( UnityEditor.SerializedProperty min, UnityEditor.SerializedProperty max ) : bool
min UnityEditor.SerializedProperty
max UnityEditor.SerializedProperty
return bool

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnGUI() public method

public OnGUI ( Rect rect ) : void
rect Rect
return void

Refresh() public method

public Refresh ( ) : void
return void

RemoveCurve() public method

public RemoveCurve ( UnityEditor.SerializedProperty max ) : void
max UnityEditor.SerializedProperty
return void

RemoveCurve() public method

public RemoveCurve ( UnityEditor.SerializedProperty min, UnityEditor.SerializedProperty max ) : void
min UnityEditor.SerializedProperty
max UnityEditor.SerializedProperty
return void

SetVisible() public method

public SetVisible ( UnityEditor.SerializedProperty curveProp, bool visible ) : void
curveProp UnityEditor.SerializedProperty
visible bool
return void