| | |
| | | return;
|
| | | }
|
| | | RlsLingGenEffect();
|
| | | if (!LingGenNode)
|
| | | {
|
| | | LingGenNode = new GameObject();
|
| | | GameObject.DontDestroyOnLoad(LingGenNode);
|
| | | }
|
| | | var _config = ReikiRootEffectConfig.Get(id);
|
| | | var _sfx = SFXPlayUtility.Instance.PlayBattleEffect(_config.effect, LingGenNode.transform, 1);
|
| | | lingGenEffectList.Add(_sfx);
|
| | | var _effectConfig = EffectConfig.Get(_config.effect);
|
| | | if (_effectConfig.fxName.EndsWith("09")
|
| | | || _effectConfig.fxName.EndsWith("10")
|
| | | || _effectConfig.fxName.EndsWith("11"))
|
| | | {
|
| | | var _sfx = SFXPlayUtility.Instance.PlayBattleEffect(_config.effect, Root, 1);
|
| | | lingGenEffectList.Add(_sfx);
|
| | | }
|
| | | else
|
| | | {
|
| | | if (!LingGenNode)
|
| | | {
|
| | | LingGenNode = new GameObject();
|
| | | GameObject.DontDestroyOnLoad(LingGenNode);
|
| | | }
|
| | |
|
| | | var _sfx = SFXPlayUtility.Instance.PlayBattleEffect(_config.effect, LingGenNode.transform, 1);
|
| | | lingGenEffectList.Add(_sfx);
|
| | | }
|
| | | }
|
| | | }
|