示例#1
0
        public long ResourceAdd <T>(T obj)
        {
            var resource = new Resource_2D(obj);

            Resources.Add(resource);
            return(resource.index);
        }
示例#2
0
        public void ResourceUpDate(Resource_2D row)
        {
            var resource = Resources.Find(o => o.index == row.index);

            resource.obj = row.obj;
        }