Beispiel #1
0
    public static string ToStringTag(this PYBundleTags assetTag)
    {
        string tag = assetTag.ToString();

        tag = tag.Remove(0, tag.IndexOf('_') + 1);
        return(tag);
    }
Beispiel #2
0
 public virtual T GetAsset <T>(PYBundleTags assetTag, T defaultValue = default(T))
 {
     return(GetAsset <T>(assetTag.ToStringTag(), defaultValue));
 }
Beispiel #3
0
 public virtual bool ExistTag <T>(PYBundlePriority priority, PYBundleTags assetTag)
 {
     return(ExistAsset(assetTag.ToStringTag()));
 }