Example #1
0
        public void addref(uMeta reff)
        {
            if (refs == null)
            {
                refs = new List <uMeta>();
            }

            refs.Add(reff);
        }
Example #2
0
File: u3d.cs Project: Klanly/ncnn
        uMeta GetNewuMeta(long pid)
        {
            int rett;

            if (UID2ORD.TryGetValue(pid, out rett))
            {
                return(Content[rett]);
            }
            else
            {
                var nyme = new uMeta(this);
                UID2ORD[pid] = Content.Count;
                Content.Add(nyme);
                return(nyme);
            }
        }