Skip to content

DontDestroyOnLoad.cs

Matthew Coulter edited this page Aug 17, 2022 · 1 revision

DontDestroyOnLoad

class/ Inherits from:MonoBehaviour

Description

This class was an attempt during testing to force an object to not destroy when switching scenes.It has since been implemented directly in the AM code

Public Properties

Property Description Type
GameObject This is the instance of the gameObject this script is attached to static