void Awake() { exampleController = GameObject.FindObjectOfType <VRInventoryExampleSceneController>(); gazeInputModuleInventory = GameObject.FindObjectOfType <GazeInputModuleInventory>(); }
// Use this for initialization void Start() { myAnim = GetComponent <Animator>(); vrInventory = GameObject.FindObjectOfType <VRInventory>(); exampleController = GameObject.FindObjectOfType <VRInventoryExampleSceneController>(); }