public static GBoxCollider2D Make(int entityID, Vector2 size, Vector2 center, Vector2 bounds) { GBoxCollider2D comp = new GBoxCollider2D(); comp._size = size; comp._bounds = bounds; comp._center = center; comp.EntityID = entityID; comp.FamilyID = 3; return comp; }
public static GBoxCollider2D Make(int entityID, Vector2 size, Vector2 center, Vector2 bounds) { GBoxCollider2D comp = new GBoxCollider2D(); comp._size = size; comp._bounds = bounds; comp._center = center; comp.EntityID = entityID; comp.FamilyID = 3; return(comp); }