edited August 2018 in ORK Support
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?

thanks in advance!
Post edited by Maximal on
  • 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!
  • Nice, thanks.
Sign In or Register to comment.