| | |
| | | public class ClientHazyGrassStage : DungeonStage
|
| | | {
|
| | | static readonly Vector3 PlayerBornPosition1 = new Vector3(19.401f, 4.985f, 5.494f);
|
| | | static readonly Vector3 PlayerBornPosition2 = new Vector3(17.25f, 5.12f, 3.70f);
|
| | |
|
| | | static List<Vector3> s_NpcPositions = new List<Vector3>();
|
| | |
|
| | |
| | |
|
| | | if (hasInitializedNpc)
|
| | | {
|
| | | var positions = config.GetNpcPositions();
|
| | | var enemyPosition = positions[UnityEngine.Random.Range(0, positions.Count)];
|
| | |
|
| | | if (ClientDungeonStageUtility.clientMapId == HazyGrassModel.FAIRY_CLIENTDATAMAP)
|
| | | {
|
| | | PersonalEnemy.Create((uint)s_EnemyNpcId, E_ActorGroup.Enemy, PlayerBornPosition2);
|
| | | PersonalEnemy.Create((uint)s_EnemyNpcId, E_ActorGroup.Enemy, enemyPosition);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | |
|
| | | private void Awake()
|
| | | {
|
| | | //m_Back.AddListener(OnBack);
|
| | | m_Back.AddListener(OnBack);
|
| | | m_Goto.AddListener(Goto);
|
| | | }
|
| | |
|
| | |
| | |
|
| | | void DisplayBackButton()
|
| | | {
|
| | | m_Back.gameObject.SetActive(false);
|
| | | m_Back.gameObject.SetActive(!model.InFakeHazyRegion);
|
| | | }
|
| | |
|
| | | int Compare(int lhs, int rhs)
|
| | |
| | | {
|
| | | InitializeAdventure();
|
| | |
|
| | | WindowJumpMgr.Instance.ClearJumpData();
|
| | | WindowCenter.Instance.CloseAll(WindowCenter.CloseAllIgnoreType.BaseAndCustom);
|
| | |
|
| | | var hero = PlayerDatas.Instance.hero;
|