using Fantasy; using Fantasy.Entitas; namespace NB.Map; public static class MapUnitFactory { /// /// 创建一个新的Player /// /// /// ToKen令牌传递过来的aId /// public static MapUnit Create(Scene scene, long aId) { var player = Entity.Create(scene, aId, true, true); return player; } }