I am trying to upgrade my old Unity xCode (Unity 3.5) project to Unity (4.5.4). The application will be broken using this po method:
UnitySendMessage ([class_name UTF8String], [methodNameName UTF8String], nil);
Help me please.
In Unity (4.5.4), they use the char parameter as follows:
(UnitySendMessage(const char* obj, const char* method, const char* msg);)
So, we want to change the call as follows:
UnitySendMessage("className", "methodNameName" , "Nil");
Man, the easiest way is to restore unity, and everything will be
Source: https://habr.com/ru/post/1204541/More articles:How to run HBase in distributed mode on windows without cygwin? - javaElasticsearch aggregates filtering the top result from each bucket - immutabilityHow to get psds info in C ++ - ibm-midrangeNg-click Missing getter for 'clickHandler' in AngularDart - dartRun code once for each instance of a C ++ class template - c ++Combine three different columns in a date in R - rCan I use std :: rc :: Rc with a feature type? - rustConverting a sparse python matrix to a lean sparse matrix - pythonEncoding VelocityEngineUtils.mergeTemplateIntoString to use when creating email - javaCustom UIActivity: unknown activity items introduced in ios8 - objective-cAll Articles