ios
This commit is contained in:
@@ -29,7 +29,7 @@ public class CallListner : CLBehaviour4Lua
|
||||
|
||||
#if UNITY_IOS
|
||||
[System.Runtime.InteropServices.DllImport("__Internal")]
|
||||
private static extern void _init(string goName);
|
||||
private static extern void _initCallListner(string goName);
|
||||
#endif
|
||||
|
||||
public void init()
|
||||
@@ -38,7 +38,7 @@ public class CallListner : CLBehaviour4Lua
|
||||
#if UNITY_ANDROID
|
||||
plugin.Call("init", gameObject.name);
|
||||
#elif UNITY_IOS
|
||||
_init(gameObject.name);
|
||||
_initCallListner(gameObject.name);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user