I tried this tutorial “This”, but i can’t use that attribute on: { get; protected set}
And i tried:
EditorGUILayout.IntField("Status: ", playerInfo.m_Status);
But how i can make this non-editable?, i mean to look like this:
![]()
I tried this tutorial “This”, but i can’t use that attribute on: { get; protected set}
And i tried:
EditorGUILayout.IntField("Status: ", playerInfo.m_Status);
But how i can make this non-editable?, i mean to look like this:
![]()
Did you try that
GUI.enabled = false;
...
GUI.enabled = true;
Is working, thanks ![]()
How I can Make this but using UI toolkit and TextField?
The UI toolkit is actually object / class based. So have you checked the documentation? The isReadOnly property sounds pretty much like what you need.