/// <summary> /// Creates a new <see cref="Entity"/> instance with the provided tag. /// </summary> /// <param name="tag">Tag to assign to the new <see cref="Entity"/> instance.</param> /// <returns>A new <see cref="Entity"/> instance with the provided tag.</returns> public Entity CreateEntity(string tag) { Entity entity = EntityManager.Create(); TagManager.AssignTag(tag, entity); return(entity); }