Is there any way to access ork data like statuses when the game isn't running.

We can get it right now doing something like:

string name = GamingIsLove.ORKFramework.ORK.StatusEffects.Get(statusIndex).GetName();


But this only works while the game is running. Any way to get something like this when the game isn't running?

Cheers!
  • Well, access to the data is the same in both running game and in the editor.
    However, in the editor, ORK might not be initialized, so trying to access it can cause issues.

    You can check and initialize the data like this:
    if(!Maki.Instantiated)
    {
    Maki.Initialize(MakinomAssetHelper.LoadProjectAsset());
    }

    However, this only works in editor-code (so being in an Editor folder or sub-folders of it).
    You also need to add the editor namespace GamingIsLove.Makinom.Editor.
    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!
  • Awesome, thank you very much, GiL!
Sign In or Register to comment.