예제 #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();
        }
예제 #2
0
 /// <summary>
 /// 写入pos
 /// </summary>
 /// <param name="entity"></param>
 /// <returns></returns>
 public static int InsertPos(PosEntity entity)
 {
     return(utity.Insert(entity));
 }
예제 #3
0
 public int InsertPos(PosEntity entity)
 {
     return(PosDAL.InsertPos(entity));
 }