Example #1
0
        private void Awake()
        {
            _interactiveItem = gameObject.GetComponent <ARInteractiveItem>();
            GameObject go = GameObject.Find("InputManager");

            currentImage = m_Image;
        }
Example #2
0
 private void Awake()
 {
     _interactiveItem = gameObject.GetComponent <ARInteractiveItem>();
     if (_interactiveItem == null)
     {
         _interactiveItem = gameObject.AddComponent <ARInteractiveItem>();
     }
     currentImage = m_Image;
 }