Пример #1
0
        private void AddLineObject(ILoudspeakerItem item, List <LineObjCache> curLineObject)
        {
            LineObjCache objCache;

            objCache.width           = item.GetItemWidth();
            objCache.height          = item.GetItemHeight();
            objCache.trans           = item.GetTransform();
            objCache.trans.sizeDelta = new Vector2(objCache.width, objCache.height);
            curLineObject.Add(objCache);
        }