コード例 #1
0
    void Start()
    {
        screenHeight = Screen.height;
        screenWidth  = Screen.width;
        QuitOnConnectionErrors();

        STRUCTURE_ELEMENT = GameObject.FindGameObjectWithTag("StructureParent");
        STRUCTURE_ELEMENT.SetActive(false);

        UIinstance = ARviewUI.Instance;
    }
コード例 #2
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(this);
     }
 }