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