Added macro support to iOS/Android in Unity