private void Start() { linearInventory = FindObjectOfType <LinearInventory>(); uIInventory = FindObjectOfType <UIInventory>(); }
// Start is called before the first frame update void Start() { inventory = FindObjectOfType <LinearInventory>(); AssignKey(); }