예제 #1
0
        public GameObject AttemptLoadGameObject(string name)
        {
            bool contains = GameObjects.ContainsKey(name);

            if (contains)
            {
                return(GameObjects[name]);
            }
            else
            {
                Utilities.Logger.Error($"Asset Bundle ({finalLocation}) attempted to load non existent item: {name}");
                return(null);
            }
        }
 internal GameObject GetObjectByTypeHashCode(string hashCode) => GameObjects
 .ContainsKey(hashCode)
     ? GameObjects[hashCode]
     : null;