public static void StartLoad(RestrictionInput.LoadType loadType)
    {
        GUIMain.BarrierON(null);
        if (!RestrictionInput.isDisableBackKeySetting)
        {
            GUIManager.ExtBackKeyReady = false;
        }
        switch (loadType)
        {
        case RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON:
            Loading.Display(Loading.LoadingType.LARGE, true);
            break;

        case RestrictionInput.LoadType.LARGE_IMAGE_MASK_OFF:
            Loading.Display(Loading.LoadingType.LARGE, false);
            break;

        case RestrictionInput.LoadType.SMALL_IMAGE_MASK_ON:
            Loading.Display(Loading.LoadingType.SMALL, true);
            break;

        case RestrictionInput.LoadType.SMALL_IMAGE_MASK_OFF:
            Loading.Display(Loading.LoadingType.SMALL, false);
            break;
        }
    }
예제 #2
0
 public static void DispLoading(bool isLoading, RestrictionInput.LoadType loadType = RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON)
 {
     if (isLoading)
     {
         if (!Loading.IsShow())
         {
             RestrictionInput.StartLoad(loadType);
         }
     }
     else
     {
         RestrictionInput.EndLoad();
     }
 }