| | |
| | | private void Step2_1() |
| | | { |
| | | Wood1Appear(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | AddButtonListener(towerBuyBtn, Step2_2); |
| | | StartCoroutine(ShowRimTip(strArray[1])); |
| | | |
| | | } |
| | | |
| | | private void Wood1Appear() |
| | |
| | | wood1.enabled = false; |
| | | wood1PS1.Play(); |
| | | wood1PS2.Play(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | AddButtonListener(towerBuyBtn, Step2_2); |
| | | StartCoroutine(ShowRimTip(strArray[1])); |
| | | } |
| | | } |
| | | |
| | |
| | | private void Step2_2() |
| | | { |
| | | Wood2Appear(); |
| | | |
| | | offectBackground.SetActive(true); |
| | | wood1.enabled = true; |
| | | wood2.enabled = true; |
| | | ShowDragPath(wood2.GetStartP, wood1.GetRect); |
| | | RimWood2(); |
| | | image_Tip_Rect.gameObject.SetActive(false); |
| | | |
| | | //StartCoroutine(ShowRimTip(strArray[2])); |
| | | } |
| | | |
| | | private void Wood2Appear() |
| | | { |
| | | if (!wood2.gameObject.activeSelf) |
| | | { |
| | | wood2.gameObject.SetActive(true); |
| | | wood2PS1.Play(); |
| | |
| | | SetRimActive(false); |
| | | CloseGuidance(); |
| | | tmpMask.enabled = true; |
| | | offectBackground.SetActive(true); |
| | | wood1.enabled = true; |
| | | wood2.enabled = true; |
| | | ShowDragPath(wood2.GetStartP, wood1.GetRect); |
| | | RimWood2(); |
| | | image_Tip_Rect.gameObject.SetActive(false); |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | private void Step4_1() |
| | | { |
| | | FireAppear(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | Step4_2(); |
| | | } |
| | | |
| | | private void FireAppear() |
| | |
| | | fire.enabled = true; |
| | | firePS1.Play(); |
| | | firePS1.Play(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | Step4_2(); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | else if (currentIndex == 2) |
| | | { |
| | | tmpMask.enabled = true; |
| | | |
| | | SetRimActive(false); |
| | | StopShowDragPath(true); |
| | | CloseGuidance(); |
| | |
| | | private void Step6_1() |
| | | { |
| | | WaterAppear(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | Step6_2(); |
| | | |
| | | } |
| | | |
| | | private void WaterAppear() |
| | |
| | | water.enabled = true; |
| | | waterPS1.Play(); |
| | | waterPS2.Play(); |
| | | RemoveButtonListener(towerBuyBtn); |
| | | Step6_2(); |
| | | } |
| | | } |
| | | /// <summary> |