private string dir_inputimages; // Where image classes stored. private void Awake() { LayerManager = FindObjectOfType <CLayerManager>(); m_Path = Application.dataPath + directory; Debug.Log("mPath" + m_Path); activations = FindObjectOfType <CAllLayerManager>(); }
private void Awake() { // Grabbable Component: rigidbody = GetComponent <Rigidbody>(); grabbable = GetComponent <OVRGrabbable>(); // Handle Textures: renderer = GetComponent <Renderer>(); manager = FindObjectOfType <CLayerManager>(); activations = FindObjectOfType <CAllLayerManager>(); }