Prefab property override visual differences between Odin and Unity

Issue #691 resolved
Maciej Paluszek created an issue

When property (that is class or struct) in prefab is overriden Unity draws blue line and bolds overriden value, value label and main label.

Odin just bolds value and value label which makes harder to see overrides, and even harder when label is hidden.

This behavior is still present in Odin 3.

Code for this component:

using Sirenix.OdinInspector;
using UnityEngine;

public class Test : MonoBehaviour
    [SerializeField] private Vector2 m_testWithOdin;
    [SerializeField, DrawWithUnity] private Vector2 m_testWithUnity;

Code that recreates behavior simmilar to Unity:

Comments (1)

  1. Log in to comment