I need to send the start up selection options Scene(0) variables and load it to my game which is Scene(1).
I used
GameSelect =GameObject.FindGameObjectWithTag(“GameController”);
GameSelection = GameSelect.GetComponent() ;
DontDestroyOnLoad(transform.gameObject);
but always i got a error msg : Object reference not set to an instance of an object !!
![]()
![]()
![]()
![]()
![]()