im using this: ORK.Areas.GetName (SceneManager.GetActiveScene ().buildIndex); it works fine as long as i keep the build index and the areas in sync but would prefer to have a direct reference to the current area, is there a way to do this?
You're halfway there - the ID of the current area can be accessed via ORK.Game.AreaID, so the complete code would be:
string name = ORK.Areas.GetName(ORK.Game.AreaID);
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
string name = ORK.Areas.GetName(ORK.Game.AreaID);
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!