Hey. I am trying to change the portals from active to inactive. I am verifying this for "PortalEnterBox2" by pressing the "P" key but it doesn't work. What is happening is this:
If I set the instance variable "portalOn" to false to be the default on start of layout, if I press "P" it changes the state of the portal to active but when I press again "P" nothing happens.
If I set the instance variable "portalOn" to true to be the default on start of layout, if I press "P" nothing happens.
Please, look at the screenshot and tell me what I'm doing wrong. Thanks.
Link here https://www.dropbox.com/s/hua8wwgcdg0j1 ... m.jpg?dl=0