#How can i custom gui on right click at

1 messages · Page 1 of 1 (latest)

chrome cobalt
#

i want make button reset variable it

chrome cobalt
#

oh that is EditorApplication.contextualPropertyMenu
nice

#

hi now i try to save value inspector at runtime
how to do that
when i edit value at runtime and stop back to editor the value is will reset

#

so i want edit value at runtime and when i back to editor the value must save

#

my code i ask in ChatGPT haha is not work

ripe whale
#

Just as the example does in the docs for the context menu:

// Make the change
propertyCopy.vector3Value = Random.insideUnitSphere * 5;
// Apply the change
propertyCopy.serializedObject.ApplyModifiedProperties();
chrome cobalt
#

dont work

#

simple code