I want to preserve a specific class on a gameobject and non of the other scripts attached to that gameobject. Is there a way to specify that?
I want to preserve a specific class on a gameobject and non of the other scripts attached to that gameobject. Is there a way to specify that?
void Start()
{
DontDestroyOnLoad(this);
}