You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>MessageDispatcher.SendMessage(MessageName.XXX.ToString());<EFBFBD><EFBFBD>ʵ<EFBFBD>ֶ<EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum MessageName {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// С<EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD>С
|
|
|
|
|
/// </summary>
|
|
|
|
|
MiniMapShrink,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// С<EFBFBD><EFBFBD>ͼ<EFBFBD>Ŵ<EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
MiniMapEnlarge,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// С<EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
MiniMapZoom,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
RestCamera,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// С<EFBFBD><EFBFBD>ͼ<EFBFBD>Ҽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
/// </summary>
|
|
|
|
|
MiniMapRightClick
|
|
|
|
|
|
|
|
|
|
Inspector <EFBFBD><EFBFBD><EFBFBD>IJ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>
|
|
|
|
|
public float zoomSpeed = 10;
|
|
|
|
|
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Сֵ
|
|
|
|
|
public float zoomMin = 50;
|
|
|
|
|
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
|
|
|
|
|
public float zoomMax = 300;
|
|
|
|
|
//<EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С
|
|
|
|
|
private float currentSize = 50;
|
|
|
|
|
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ұ<EFBFBD>߽<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
|
|
|
|
|
public Vector2 PosToWorldMax = new Vector2(700f,450);
|
|
|
|
|
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ұ<EFBFBD>߽<EFBFBD><EFBFBD><EFBFBD>Сֵ
|
|
|
|
|
public Vector2 PosToWorldMin = new Vector2(-1700f,-1700);
|
|
|
|
|
}
|