public static List <string> GetLockNamesOnObject(UnityEngine.Object objectWithGUID)
        {
            string assetGuid = null;

            AssetAccess.TryGetAssetGUIDFromObject(objectWithGUID, out assetGuid);
            return(SoftLockUIData.GetLocksNamesOnAsset(assetGuid));
        }
        public static int CountOfLocksOnOpenScenes()
        {
            int num = 0;

            foreach (KeyValuePair <string, List <string> > current in SoftLockUIData.GetLockNamesOnOpenScenes())
            {
                num += current.Value.Count;
            }
            return(num);
        }
        public static List <List <string> > GetLockNamesOnScenes(List <Scene> scenes)
        {
            List <List <string> > list = new List <List <string> >();
            List <List <string> > result;

            if (scenes == null)
            {
                result = list;
            }
            else
            {
                foreach (Scene current in scenes)
                {
                    List <string> locksNamesOnScene = SoftLockUIData.GetLocksNamesOnScene(current);
                    list.Add(locksNamesOnScene);
                }
                result = list;
            }
            return(result);
        }
        public static List <string> GetLockNamesOnScenePath(string scenePath)
        {
            string assetGuid = AssetDatabase.AssetPathToGUID(scenePath);

            return(SoftLockUIData.GetLocksNamesOnAsset(assetGuid));
        }
 public static List <string> GetLocksNamesOnScene(Scene scene)
 {
     return(SoftLockUIData.GetLockNamesOnScenePath(scene.path));
 }
        public static Texture GetIconForSection(SoftLockUIData.SectionEnum section)
        {
            string fileName = SoftLockUIData.IconNameForSection(section);

            return(SoftLockUIData.GetIconForName(fileName));
        }