Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared EditorState #92

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

krisrok
Copy link

@krisrok krisrok commented Jan 21, 2021

#91

Reenabling some lost UI for manipulating points in the inspector, and potentially some other stuff.

image

cp added 3 commits January 21, 2021 11:19
Use EditorState object map so we create a shared state per PathCreator instance so both OnSceneGUI and OnInspectorGUI operate on the same state
All previous state variable fields are now properties accessing the EditorState's instance's fields so we do not have to change all usages of the previous fields
Ensure we have an instance of EditorState on OnEnable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant