Hi, after i put in void start this function, it gives me this error. →
. I have to use something other than GetComponent??You are calling the function GetComponent
.
A function call must always end in brackets: ()
(empt if no arguments like in this case)
inventorymanager = ....... GetComponent<InventoryManager>();