Ejemplo n.º 1
0
        public static bool IsPrefab(string assetGUID)
        {
            bool isPrefab = false;

            UnityEngine.Object unityObject;
            if (AssetAccess.TryGetAssetFromGUID(assetGUID, out unityObject))
            {
                isPrefab = IsPrefab(unityObject);
            }
            return(isPrefab);
        }
Ejemplo n.º 2
0
        public static bool IsPrefab(string assetGUID)
        {
            bool result = false;

            UnityEngine.Object unityObject;
            if (AssetAccess.TryGetAssetFromGUID(assetGUID, out unityObject))
            {
                result = SoftLockData.IsPrefab(unityObject);
            }
            return(result);
        }