| | |
| | | clientPrecious.Pos = s_PreciousPosition;
|
| | | clientPrecious.Rotation = Quaternion.Euler(0, s_PreciousAngle, 0);
|
| | |
|
| | | var npcConfig = NPCConfig.Get(m_PreciousNpcId);
|
| | | if (npcConfig.ModeProportion != 1)
|
| | | {
|
| | | clientPrecious.Root.localScale = Vector3.one * npcConfig.ModeProportion;
|
| | | }
|
| | | m_PreciousSid = clientPrecious.ServerInstID;
|
| | |
|
| | | var npcConfig = NPCConfig.Get(m_PreciousEffectNpcId);
|
| | | npcConfig = NPCConfig.Get(m_PreciousEffectNpcId);
|
| | | m_PreciousEffect = SFXPlayUtility.Instance.PlayWithEulerAngle(npcConfig.NPCEffect, s_PreciousEffectPosition
|
| | | , new Vector3(0, s_PreciousEffectAngle, 0));
|
| | | var animator = m_PreciousEffect.GetComponentInChildren<Animator>(true);
|
| | |
| | | {
|
| | | if (sid == m_PreciousSid)
|
| | | {
|
| | | ClientSceneManager.Instance.lastDeadPos = s_PreciousPosition;
|
| | | var pak = new CA234_tagCMGetCustomSceneCollectAward();
|
| | | pak.NPCID = (uint)m_PreciousNpcId;
|
| | | GameNetSystem.Instance.SendInfo(pak);
|