On my "OnTriggerEnter(Collider col)"
I am checking col.gameObject.tag == "someTag";
It works well on Android/Editor mode, but not iOS/StandAloneWin.
I logged the col.gameObject.tag on screen using OnGUI.
What it gives me is
col.gameObject.tag : gameObject layer's name (Not the Tag string)
I also logged the col.gameObject.name -> this gives the correct gameObject name.
*Note: I am converting project from 4.6 -> 5.5
↧