public void Pack(Packer packer, object obj) { ViewIdSerializer.PackDirect(packer, (ViewId)obj); }
public static void PackDirect(Packer packer, ME.ECS.Views.IView view) { var viewId = Worlds.currentWorld.GetModule <ME.ECS.Views.ViewsModule>().GetViewSourceId(view); ViewIdSerializer.PackDirect(packer, viewId); }