Skip to main content
2 votes
Accepted

How do I access a struct that resides within a struct in blueprints?

You can try like this. Define Struct: ...
Protoss's user avatar
  • 146
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. ...
Engineer's user avatar
  • 30.4k
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 ...
DMGregory's user avatar
  • 141k

Only top scored, non community-wiki answers of a minimum length are eligible