Example #1
0
        public void SetScale(SegmentType segmentType, Vector2 scale)
        {
            if (_entity == null || !_entity.ContainsKey(segmentType))
            {
                return;
            }

            PosEntity entity = _entity[segmentType];

            entity.scale         = scale;
            _entity[segmentType] = entity;
            updateTransform();
        }
Example #2
0
 /// <summary>
 /// 写入pos
 /// </summary>
 /// <param name="entity"></param>
 /// <returns></returns>
 public static int InsertPos(PosEntity entity)
 {
     return(utity.Insert(entity));
 }
Example #3
0
 public int InsertPos(PosEntity entity)
 {
     return(PosDAL.InsertPos(entity));
 }