示例#1
0
 public void Pack(Packer packer, object obj)
 {
     ViewIdSerializer.PackDirect(packer, (ViewId)obj);
 }
示例#2
0
        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);
        }