DrawOverlays() публичный статический Метод

public static DrawOverlays ( Collab assetState, Rect itemRect ) : void
assetState Collab
itemRect UnityEngine.Rect
Результат void
Пример #1
0
 private static void DrawProjectBrowserIconOverlay(Rect iconRect, string guid, bool isListMode)
 {
     if (CollabAccess.Instance.IsServiceEnabled())
     {
         Collab.CollabStates assetState = CollabProjectHook.GetAssetState(guid);
         Overlay.DrawOverlays(assetState, iconRect, isListMode);
     }
 }
Пример #2
0
 private static void DrawProjectBrowserIconOverlay(Rect iconRect, string guid, bool isListMode)
 {
     if (Collab.instance.IsCollabEnabledForCurrentProject())
     {
         Collab.CollabStates assetState = GetAssetState(guid);
         Overlay.DrawOverlays(assetState, iconRect, isListMode);
     }
 }
 public static void OnProjectWindowItemIconOverlay(string guid, Rect drawRect)
 {
     if (CollabAccess.Instance.IsServiceEnabled() && UnityConnect.instance.userInfo.whitelisted)
     {
         Collab instance = Collab.instance;
         if (instance.collabInfo.whitelisted)
         {
             Overlay.DrawOverlays(instance.GetAssetState(guid), drawRect);
         }
     }
 }
Пример #4
0
        public static void OnProjectWindowItemIconOverlay(string guid, Rect drawRect)
        {
            bool flag = CollabAccess.Instance.IsServiceEnabled();

            if (flag)
            {
                Collab instance = Collab.instance;
                Collab.CollabStates assetState = instance.GetAssetState(guid);
                Overlay.DrawOverlays(assetState, drawRect);
            }
        }