Hi guys, I don’t know much about C# but I need a simple code to do what I’m going to explain below
I have 2 Cubebox one is a trigger and other one is which I would to enable!
So I need when passing through first Cubebox (which is a trigger) the second Cubebox will be enable!
Can someone help me please?
Thanks
Yeah I could write you that script, so could hippocoder.
But what we are trying to tell you is that you are much better off in the long run if you spend some time now figuring out how to do this yourself.
Thanks I know these two method, my problem is how can I do something the second cube get disable or enable
When I put GameObject.SetActive the first cube (Which is a trigger and contains script) will be disable not second cube