- Home /
Question by
Maverickh18 · Apr 30, 2013 at 06:45 PM ·
c#editor
Accessing CustomEditor Inspector values from another scene
So I'm using a CustomEditor setup to make a Spawn Point manager. I've got it setup to add spawn points in a scene (let's call it Room 1), no problems there. What I need to do next is open up a different scene (Room 2) and make a door interact reference a spawn point from Room 1. I have all parts of the equation setup except for how to get a list of spawn points in Room 1 while I'm editing the Room 2 scene.
Is there a way to call up a query of the values setup in an object in Room 1 scene while I'm editing Room 2 scene? Keep in mind this is in the editor/inspector, not while the application is running, so I don't think player prefs and DontDestroyOnLoad will help here.
Any thoughts? Thanks!
Comment