Getting node by NodeIndex

Sometimes in jobs/burst code, I have to store the reference to the node. I am using nodeIndex for that purpose. How should I then get the node using managed code? I’ve seen GlobalNodeStorage class in the documentation which has GetNode(int index) method, but I don’t know how should I access this storage. Maybe there is some other way to store the reference to the node by blittable type like an index of node?


For people finding this in the future. See Serialization of individual nodes - #3 by nehvaleem