Esempio n. 1
0
        public T GetNoPackObject <T>(string fileName) where T : UnityEngine.Object
        {
#if UNITY_EDITOR
            if (GetIsNoPackMode())
            {
                return((T)EditorScripts.GetNoPackObject <T>(fileName));
            }
#endif
            return(null);
        }
Esempio n. 2
0
        public T GetNoPackObject <T>(string fileName) where T : UnityEngine.Object
        {
#if UNITY_EDITOR
            if (GetIsNoPackMode())
            {
                if (BundleManager.IsLoadComplete)
                {
                    return((T)EditorScripts.GetNoPackObject <T>(fileName));
                }
                else
                {
                    return(null);
                }
            }
#endif
            return(null);
        }