| | |
| | | /// <summary> |
| | | /// The current level of the tower |
| | | /// </summary> |
| | | public int currentLevel { get; protected set; } |
| | | public int currentLevel { get; set; } |
| | | |
| | | protected bool m_bInAttackMode = false; |
| | | |
| | |
| | | Vector3 pos = tapObj.transform.position; |
| | | pos.x += 5.8f; |
| | | pos.z += 3f; |
| | | pos.y = 15f; |
| | | pos.y = 20f; |
| | | tapObj.transform.position = pos; |
| | | ps?.Play(); |
| | | } |
| | |
| | | obj.transform.position = transform.position; |
| | | obj.transform.GetChild(0).GetComponent<ParticleSystem>().Play(); |
| | | Destroy(obj, 1.2f); |
| | | AudioSourceManager.Ins.StopBossWaterSkill(); |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | pos.y += gridPosition.y == 3 ? 2f : 1f; |
| | | bondageObj.transform.position = pos; |
| | | bondageObj.transform.GetChild(0).GetComponent<ParticleSystem>().Play(); |
| | | AudioSourceManager.Ins.Play(AudioEnum.BossWaterSkill); |
| | | |
| | | } |
| | | |
| | | /// <summary> |