public override void Draw(Rect rect, TweenRotation tween) { rect.height = EditorConfig.Sizes.SingleLine; EditorLayout.PropertyField(rect, ref tween.IsLocal, EditorGUI.Toggle, InspectorStates.Record, contentLocal); rect.y += EditorConfig.Sizes.SingleLine; tween.Mode = (TweenRotation.RotationMode)EditorLayout.PropertyField(rect, tween.Mode, EditorGUI.EnumPopup, InspectorStates.Record, contentMode); }
public override void Draw(Rect rect, TweenGraphic tween) { EditorLayout.PropertyField(rect, ref tween.IsRaycastTarget, EditorGUI.Toggle, InspectorStates.Record, contentRaycastTarget); }
public override void Draw(Rect rect, TweenPosition tween) { EditorLayout.PropertyField(rect, ref tween.IsLocal, EditorGUI.Toggle, InspectorStates.Record, contentLocal); }