示例#1
0
        public bool AssetExists(Type GameObjectType, String AssetName)
        {
            String PathToAsset = m_DataAssetTree.GetPathToAsset(GameObjectType.Name, AssetName);

            if (PathToAsset == null)
            {
                return(false);
            }

            return(true);
        }
示例#2
0
        public bool AssetExists(Type gameObjectType, string assetName)
        {
            string pathToAsset = m_DataAssetTree.GetPathToAsset(gameObjectType.Name, assetName);

            if (pathToAsset == null)
            {
                return(false);
            }

            return(true);
        }