public static void HidePreloader()
    {
        if (TimeOutTask != null)
        {
            TimeOutTask.Cancel();
            TimeOutTask = null;
        }

        if (Application.platform == RuntimePlatform.Android)
        {
            AndroidNativeUtility.HidePreloader();
        }

        if (Application.platform == RuntimePlatform.IPhonePlayer)
        {
            IOSNativeUtility.HidePreloader();
        }
    }
    public static void ShowPreloader()
    {
        if (TimeOutTask != null)
        {
            return;
        }

        TimeOutTask = MultiplayerPreloaderTimeoutTask.Create();


        if (Application.platform == RuntimePlatform.Android)
        {
            AndroidNativeUtility.ShowPreloader("", "");
        }

        if (Application.platform == RuntimePlatform.IPhonePlayer)
        {
            IOSNativeUtility.ShowPreloader();
        }
    }