| | |
| | |
|
| | | RaycastHit _hit;
|
| | | var _heightPos = m_Model.transform.position;
|
| | | if (actorShowModel.Height.Length > 1)
|
| | | if (actorShowModel.Height.Length > 1 && m_Index == 0)
|
| | | {
|
| | | _heightPos.x = (float)actorShowModel.Height[0] / 200;
|
| | | _heightPos.y = 0;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | if (actorShowModel.effect != null && m_Index < actorShowModel.effect.Length)
|
| | | if (actorShowModel.effect != null && m_Index < actorShowModel.effect.Length
|
| | | && actorShowModel.effect[m_Index] != 0)
|
| | | {
|
| | | sfxController = SFXPlayUtility.Instance.Play(actorShowModel.effect[m_Index], m_Model.transform);
|
| | | if (sfxController != null)
|