// Start is called before the first frame update

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