#How to reset a lens

5 messages · Page 1 of 1 (latest)

low cypress
#

I've seen this question come up a few times, so I made a tutorial on how to do it. The steps are:

  1. Turn your scene into a prefab.
  2. Setup a trigger for the reset (a button push for example).
  3. Use the Scene Manager to recreate the scene.

This is overkill for simple lenses where maybe a behavior script or two would suffice on their own, but for more complicated lenses this could be just what you are looking for.

https://youtu.be/mYkEDYeDGlQ

Learn how to create a reset button for your lenses using prefabs and the Scene Manager. Some lenses are easy to reset, maybe you can use a behavior script to enable or disable some part of your lens. But other lenses are more complex and have lots of moving parts. That is where the Scene Manager comes in. By packaging your scene up as a prefab, ...

▶ Play video
dusky gull
#

Awesome mike 🙌🏻

viscid mortar
#

❤️🤝🏼

cedar fable
#

Just what I needed!!

hidden depot
#

Wow! Exactly what I required!