Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | _C0801.NPCID = instanceId;
|
| | | _C0801.PosX = (ushort)Posx;
|
| | | _C0801.PosY = (ushort)PosY;
|
| | | GameNetSystem.Instance.SendInfo(_C0801);
|
| | |
|
| | | if (CrossServerUtility.IsCrossServer())
|
| | | {
|
| | | GameNetSystem.Instance.SendToCrossServer(_C0801);
|
| | | }
|
| | | else
|
| | | {
|
| | | GameNetSystem.Instance.SendInfo(_C0801);
|
| | | }
|
| | | }
|
| | |
|
| | | void DefaultDialogue()//关于打开默认对话界面
|
| | |
| | | {
|
| | | rect.pivot = middleCenter;
|
| | | rect.anchoredPosition = new Vector2(m_EndRealmPositionx, 0);
|
| | | rightRatio = Mathf.Abs(m_EndRealmPositionx - m_BigRealmBottomWidth / 2) / m_ContainerPoint.rect.width;
|
| | | rightRatio = Mathf.Abs(m_EndRealmPositionx - m_BigRealmBottomWidth / 2 + 30) / m_ContainerPoint.rect.width;
|
| | | }
|
| | | else
|
| | | {
|