| | |
| | | } |
| | | } |
| | | |
| | | public void SetRootNodePosition() |
| | | protected virtual void SetRootNodePosition() |
| | | { |
| | | if (1 == MapID) |
| | | { |
| | | battleRootNode.imgBackground.rectTransform.anchoredPosition = new Vector2(0, -335f); |
| | | } |
| | | else |
| | | { |
| | | battleRootNode.imgBackground.rectTransform.anchoredPosition = new Vector2(0, -750f); |
| | | // (battleRootNode.transform as RectTransform).anchoredPosition = new Vector2(100, 100); |
| | | } |
| | | battleRootNode.imgBackground.rectTransform.anchoredPosition = battleRootNode.bgPos2.anchoredPosition; |
| | | battleRootNode.battleNode.anchoredPosition = battleRootNode.battleNodePos2.anchoredPosition; |
| | | } |
| | | |
| | | public void ForceFinish() |