void Start() { itemdatabase = GameObject.Find("[CameraRig]").GetComponent <ItemDatabase> (); inventory = GameObject.Find("Controller (left)").GetComponent <Inventory> (); raycastmouse = GetComponent <RayCastMouse> (); trackedObj = GetComponent <SteamVR_TrackedObject> (); }
void Start() { raycastmouse = GetComponent <RayCastMouse> (); itemdatabase = GetComponent <ItemDatabase> (); inventoryui = GetComponent <InventoryUI> (); trackedObj = GetComponent <SteamVR_TrackedObject> (); }
void Start() { raycastmouse = GetComponent <RayCastMouse> (); }
void Start() { inventory = GameObject.Find("[CameraRig]").GetComponent <Inventory> (); raycastmouse = GetComponent <RayCastMouse> (); trackedObj = GetComponent <SteamVR_TrackedObject> (); }