示例#1
0
 public void SetCursorOn(MapObjectType type, MapData mapData)
 {
     this.currentCursorType = type;
     cursorDescription      = objectsMapper.GetDescriptionByType(type);
     positiveCursor         = cursorDescription.PositiveCursor;
     positiveRotator        = positiveCursor.GetComponent <BuildingBlockRotator>();
     negativeCursor         = cursorDescription.NegativeCursor;
     negativeRotator        = negativeCursor.GetComponent <BuildingBlockRotator>();
     this.mapData           = mapData;
     isCursorOn             = true;
 }