protected override void OnEnable() { base.OnEnable(); DragPointsHelper = new DragPointsInspectorHelper(MainComponent, this); DragPointsHelper.OnEnable(); _heightTopProperty = serializedObject.FindProperty(nameof(SurfaceComponent.HeightTop)); _heightBottomProperty = serializedObject.FindProperty(nameof(SurfaceComponent.HeightBottom)); }
protected override void OnEnable() { base.OnEnable(); DragPointsHelper = new DragPointsInspectorHelper(MeshComponent.MainComponent, this); DragPointsHelper.OnEnable(); _insertHeightProperty = serializedObject.FindProperty(nameof(LightInsertMeshComponent.InsertHeight)); _positionZProperty = serializedObject.FindProperty(nameof(LightInsertMeshComponent.PositionZ)); }
protected override void OnEnable() { base.OnEnable(); DragPointsHelper = new DragPointsInspectorHelper(MainComponent, this); DragPointsHelper.OnEnable(); _heightProperty = serializedObject.FindProperty(nameof(RubberComponent._height)); _thicknessProperty = serializedObject.FindProperty(nameof(RubberComponent._thickness)); _rotationProperty = serializedObject.FindProperty(nameof(RubberComponent.Rotation)); }
protected override void OnEnable() { base.OnEnable(); DragPointsHelper = new DragPointsInspectorHelper(MainComponent, this); DragPointsHelper.OnEnable(); _positionProperty = serializedObject.FindProperty(nameof(TriggerComponent.Position)); _scaleProperty = serializedObject.FindProperty(nameof(TriggerComponent.Scale)); _rotationProperty = serializedObject.FindProperty(nameof(TriggerComponent.Rotation)); _surfaceProperty = serializedObject.FindProperty(nameof(TriggerComponent._surface)); }
protected override void OnEnable() { base.OnEnable(); DragPointsHelper = new DragPointsInspectorHelper(MainComponent, this); DragPointsHelper.OnEnable(); _heightProperty = serializedObject.FindProperty(nameof(MetalWireGuideComponent._height)); _thicknessProperty = serializedObject.FindProperty(nameof(MetalWireGuideComponent._thickness)); _rotationProperty = serializedObject.FindProperty(nameof(MetalWireGuideComponent.Rotation)); _bendradiusProperty = serializedObject.FindProperty(nameof(MetalWireGuideComponent._bendradius)); _standheightProperty = serializedObject.FindProperty(nameof(MetalWireGuideComponent._standheight)); }
protected override void OnEnable() { base.OnEnable(); DragPointsHelper = new DragPointsInspectorHelper(MainComponent, this); DragPointsHelper.OnEnable(); _heightBottomProperty = serializedObject.FindProperty(nameof(RampComponent._heightBottom)); _heightTopProperty = serializedObject.FindProperty(nameof(RampComponent._heightTop)); _imageAlignmentProperty = serializedObject.FindProperty(nameof(RampComponent._imageAlignment)); _leftWallHeightVisibleProperty = serializedObject.FindProperty(nameof(RampComponent._leftWallHeightVisible)); _typeProperty = serializedObject.FindProperty(nameof(RampComponent._type)); _rightWallHeightVisibleProperty = serializedObject.FindProperty(nameof(RampComponent._rightWallHeightVisible)); _widthBottomProperty = serializedObject.FindProperty(nameof(RampComponent._widthBottom)); _widthTopProperty = serializedObject.FindProperty(nameof(RampComponent._widthTop)); _wireDiameterProperty = serializedObject.FindProperty(nameof(RampComponent._wireDiameter)); _wireDistanceXProperty = serializedObject.FindProperty(nameof(RampComponent._wireDistanceX)); _wireDistanceYProperty = serializedObject.FindProperty(nameof(RampComponent._wireDistanceY)); }