Beispiel #1
0
        /// <summary>
        /// Check for presence of a slot by name.
        /// </summary>
        /// <returns><c>True</c> if the slot exists in this context.</returns>
        /// <param name="name">Name.</param>
        public bool HasSlot(string name)
        {
            if (slotLibrary.HasSlot(name))
            {
                return(true);
            }
            else
            {
                if (UMAAssetIndexer.Instance.GetAssetItem <SlotDataAsset>(name) != null)
                {
                    return(true);
                }
            }

            return(false);
        }
 /// <summary>
 /// Check for presence of a slot by name.
 /// </summary>
 /// <returns><c>True</c> if the slot exists in this context.</returns>
 /// <param name="name">Name.</param>
 public bool HasSlot(string name)
 {
     return(slotLibrary.HasSlot(name));
 }