|
Post by witchthewicked on Nov 20, 2019 5:54:16 GMT
I am always getting the value of false. Everytime this gets false to my method public void triggerInventory(bool isOpen) { Debug.Log("Why are you always false : " + isOpen); } I clearly see onOpenCloseInventory.Invoke(true); but its always false Its always false, both close and open. And i didnt touch the checkbox because i heard that it sometimes gets forced to be a value
|
|
|
Post by Invector on Nov 21, 2019 12:25:25 GMT
The event onOpenCloseInventory is set to true when you open the inventory and back to false once you close it, I'm not sure what you're trying to do with this method... you want a method to open the inventory?
|
|