Esempio n. 1
0
    // Start is called before the first frame update

    public void Start()
    {
        npcInventory = transform.GetComponent <SimpleInventoryList>();
    }
Esempio n. 2
0
 public void Start()
 {
     targetName         = GameObject.Find("TargetName").GetComponent <Text>();
     inventoryUI        = GameObject.Find("Inventory").GetComponent <InventoryUIConnection>();
     questItemInventory = GameObject.Find("Inventory").GetComponent <SimpleInventoryList>();
 }