public static void addChannel(NCommon.ChannelType channelType) { #if UNITY_IOS { addChannelByUnity(channelType.ToString()); } #elif UNITY_EDITOR { Debug.Log("GamePot - UNITY EDITOR addChannel not supported"); } #endif }
public static void addChannel(NCommon.ChannelType channelType) { #if UNITY_ANDROID { if (mGamePotClass != null) { mGamePotClass.CallStatic("addChannel", channelType.ToString()); } } #elif UNITY_EDITOR { Debug.Log("GamePot - UNITY EDITOR addChannel not supported"); } #endif }