DIJO JOSEPH DIJO JOSEPH - 1 month ago 23
iOS Question

Unity 3.5 to unity 4.5.4

Am trying to update my old unity xcode (unity 3.5) project to unity (4.5.4), App will crash using this method po UnitySendMessage([className UTF8String], [methodNameName UTF8String], nil);

help me plz

Answer

Unity (4.5.4) they are using char parameter like this (UnitySendMessage(const char* obj, const char* method, const char* msg);)

So we want change our call like : UnitySendMessage("className", "methodNameName" , "Nil");