2
votes
Accepted
How do I access a struct that resides within a struct in blueprints?
You can try like this.
Define Struct:
...
1
vote
Octree as struct not class
First off, that code compiles just fine. Which means you haven't even tried to compile it, you're just guessing "in the dark" so to speak. Please, at least try your code before posting here.
...
1
vote
Accepted
How do you declare a custom structure to retain field values after a scene reload?
Declare your struct to be serializable:
[System.Serializable]
public struct Foo {
// ...
}
This tells Unity to record the values of its fields marked ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
struct × 13unity × 3
c# × 3
c++ × 2
glsl × 2
opengl × 1
java × 1
xna × 1
3d × 1
shaders × 1
architecture × 1
rendering × 1
directx × 1
networking × 1
vector × 1
unreal-4 × 1
input × 1
lwjgl × 1
voxels × 1
data-structure × 1
c × 1
text × 1
blueprints × 1
scene × 1
serialization × 1