public static void Clear <T>(this ISerializable entity, ref HashSet <T> set) { Utility.Clear(ref set); entity.MarkDirty(); }
public static void Clear <K, V>(this ISerializable entity, ref Dictionary <K, V> dict) { Utility.Clear(ref dict); entity.MarkDirty(); }
public static void Clear <T>(this ISerializable entity, ref List <T> list) { Utility.Clear(ref list); entity.MarkDirty(); }