public static DomainRef Add(GameObject obj, RefId id) { var c = obj.AddComponent <DomainRef>(); c.id = id; return(c); }
public bool Equals(RefId other) { return(id == other.id); }