Example #1
0
        private bool HasSoftlocks(string assetGUID)
        {
            if (!Collab.instance.IsCollabEnabledForCurrentProject())
            {
                return(false);
            }

            bool hasSoftLocks;
            bool isValid = (SoftLockData.TryHasSoftLocks(assetGUID, out hasSoftLocks) && hasSoftLocks);

            return(isValid);
        }
        private bool HasSoftlocks(string assetGUID)
        {
            bool result;

            if (!Collab.instance.IsCollabEnabledForCurrentProject())
            {
                result = false;
            }
            else
            {
                bool flag2;
                bool flag = SoftLockData.TryHasSoftLocks(assetGUID, out flag2) && flag2;
                result = flag;
            }
            return(result);
        }
Example #3
0
        private bool HasSoftlocks(string assetGUID)
        {
            bool result;

            if (!CollabAccess.Instance.IsServiceEnabled())
            {
                result = false;
            }
            else
            {
                bool flag2;
                bool flag = SoftLockData.TryHasSoftLocks(assetGUID, out flag2) && flag2;
                result = flag;
            }
            return(result);
        }