public void OnEnable( ) { splineProp = serializedObject.FindProperty( "spline" ); baseMeshProp = serializedObject.FindProperty( "baseMesh" ); segmentCountProp = serializedObject.FindProperty( "segmentCount" ); xyScaleProp = serializedObject.FindProperty( "xyScale" ); uvScaleProp = serializedObject.FindProperty( "uvScale" ); uvModeProp = serializedObject.FindProperty( "uvMode" ); splineSegmentProp = serializedObject.FindProperty( "splineSegment" ); autoUpdateProp = new AutoUpdaterEditor( serializedObject, "autoUpdater" ); }
public void OnEnable( ) { interpolationModeProp = serializedObject.FindProperty( "interpolationMode" ); rotationModeProp = serializedObject.FindProperty( "rotationMode" ); tangentModeProp = serializedObject.FindProperty( "tangentMode" ); accuracyProp = serializedObject.FindProperty( "interpolationAccuracy" ); tensionProp = serializedObject.FindProperty( "tension" ); upVectorProp = serializedObject.FindProperty( "tanUpVector" ); autoCloseProp = serializedObject.FindProperty( "autoClose" ); autoUpdaterProp = new AutoUpdaterEditor( serializedObject, "autoUpdate" ); }