private void Awake() { _interactiveItem = gameObject.GetComponent <ARInteractiveItem>(); GameObject go = GameObject.Find("InputManager"); currentImage = m_Image; }
private void Awake() { _interactiveItem = gameObject.GetComponent <ARInteractiveItem>(); if (_interactiveItem == null) { _interactiveItem = gameObject.AddComponent <ARInteractiveItem>(); } currentImage = m_Image; }