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

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

            resource.obj = row.obj;
        }