Example #1
0
 // Start is called before the first frame update
 void Awake()
 {
     if (MainCamera != null)
     {
         MainCamera.SetActive(true);
     }
     else
     {
         Debug.Log(">> No set MainCamera!");
     }
     if (UI_Canvas != null)
     {
         UI_Canvas.SetActive(true);
     }
     else
     {
         Debug.Log(">> No set UI-Canvas!");
     }
 }