コード例 #1
0
        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);
        }
コード例 #2
0
 public override void Draw(Rect rect, TweenGraphic tween)
 {
     EditorLayout.PropertyField(rect, ref tween.IsRaycastTarget, EditorGUI.Toggle, InspectorStates.Record, contentRaycastTarget);
 }
コード例 #3
0
 public override void Draw(Rect rect, TweenPosition tween)
 {
     EditorLayout.PropertyField(rect, ref tween.IsLocal, EditorGUI.Toggle, InspectorStates.Record, contentLocal);
 }