// Use this for initialization void Start() { objectRenderer = GetComponent <MeshRenderer>(); //objectMaterial = Resources.Load<objectMaterial>("defaultMat"); m_ARKitProjectUI = FindObjectOfType <ARKitProjectUI>(); }
// Use this for initialization void Start() { //m_ObjectPlacement = FindObjectOfType<ObjectPlacement>(); //m_ESAPlacement = FindObjectOfType<TGOPlacement>(); //m_TGOPlacement = GameObject.Find("TGO/default").GetComponent<ObjectPlacement>(); //m_ESAPlacement = GameObject.Find("ESA_icon").GetComponent<ObjectPlacement>(); m_ARKitProjectUI = FindObjectOfType <ARKitProjectUI>(); }
// Use this for initialization void Start() { m_ARKitProjectUI = FindObjectOfType <ARKitProjectUI>(); }
// Use this for initialization void Start() { objectRenderer = GetComponent <MeshRenderer>(); m_ARKitProjectUI = FindObjectOfType <ARKitProjectUI>(); }