public static T AddToAssetFile <T>(this ScriptableObject obj, bool setDirty = true, bool save = true)
     where T : ScriptableObject
 {
     return((T)obj.AddToAssetFile(typeof(T), setDirty, save));
 }