microsoft / MixedReality-WorldLockingTools-Unity

Unity tools to provide a stable coordinate system anchored to the physical world.
https://microsoft.github.io/MixedReality-WorldLockingTools-Unity/README.html
MIT License
188 stars 45 forks source link

SpacePin before Start #195

Open fast-slow-still opened 3 years ago

fast-slow-still commented 3 years ago

Currently, a SpacePin finishes essential initialization in its Start() function. While not an issue for scene asset SpacePins, for runtime constructed pins this means that the client must create a pin, then wait at least a frame before activating it.

If it wouldn't complicate things too much, it would be good if the SpacePin could do its initialization earlier, or on demand, so that as soon as it is created (and required resources are created), it may be fully used.