| | |
| | | // Start is called before the first frame update |
| | | void Start() |
| | | { |
| | | if (GA_SDK_Manager.Ins == null) |
| | | gameObject.AddComponent<GA_SDK_Manager>(); |
| | | GA_SDK_Manager.Ins.ArriveBattle();//埋点 |
| | | GA_SDK_Manager.Ins.Statistics(4);//埋点 |
| | | |
| | | bVibrate = new bool[4]; |
| | | bVibrate[0] = bVibrate[1] = bVibrate[2] = bVibrate[3] = false; |
| | | |
| | |
| | | Instantiate(Resources.Load<GameObject>("UI/Guide/GuidePanel"), this.transform); |
| | | AddGuideEvent(); |
| | | } |
| | | |
| | | GameConfig.EndlessOpenAttackTowerCount = 0; |
| | | GameConfig.EndlessBuyTowerCount = 0; |
| | | GameConfig.EndlessPortUseSkillTowerCount = 0; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | // 播放特效,并处理伤害. |
| | | EndlessWaveLineManager.instance.PlayWaveLineEffect(waveLineIndex); |
| | | AgentInsManager.instance.ExecWavelineAttack(waveLineIndex, attributeId, level, false); |
| | | ++GameConfig.EndlessPortUseSkillTowerCount; |
| | | StartCoroutine(Delay1()); |
| | | } |
| | | |