Unity 6.5 업그레이드와 신규 프로토타입 기반 구축
This commit is contained in:
+6
-1
@@ -111,7 +111,12 @@ namespace ExternPropertyAttributes.Editor
|
||||
|
||||
if (!_foldouts.ContainsKey(group.Key))
|
||||
{
|
||||
_foldouts[group.Key] = new SavedBool($"{target.GetInstanceID()}.{group.Key}", false);
|
||||
#if UNITY_6000_3_OR_NEWER
|
||||
var targetId = target.GetEntityId();
|
||||
#else
|
||||
var targetId = target.GetInstanceID();
|
||||
#endif
|
||||
_foldouts[group.Key] = new SavedBool($"{targetId}.{group.Key}", false);
|
||||
}
|
||||
|
||||
_foldouts[group.Key].Value = EditorGUILayout.Foldout(_foldouts[group.Key].Value, group.Key, true);
|
||||
|
||||
Reference in New Issue
Block a user