| | |
| | | using UnityEngine;
|
| | | public class ClientHazyGrassStage : DungeonStage
|
| | | {
|
| | | static readonly Vector3 PlayerBornPosition1 = new Vector3(17.25f, 5.12f, 3.70f);
|
| | | static readonly Vector3 PlayerBornPosition2 = new Vector3(17.25f, 5.12f, 3.70f);
|
| | | static readonly Vector3 PlayerBornPosition1 = new Vector3(19.401f, 4.985f, 5.494f);
|
| | |
|
| | | static List<HazyMapNpcScriptableObject.NpcInfo> s_NpcInfos = new List<HazyMapNpcScriptableObject.NpcInfo>();
|
| | | static Dictionary<Vector3, GA_NpcClientCollect> s_CollectNpcs = new Dictionary<Vector3, GA_NpcClientCollect>();
|
| | |
| | | void InitialPlayer()
|
| | | {
|
| | | var hero = PlayerDatas.Instance.hero;
|
| | | if (incidentType == HazyRegionIncidentType.ReikiGrass)
|
| | | {
|
| | | hero.Pos = PlayerBornPosition1;
|
| | | }
|
| | | else if (incidentType == HazyRegionIncidentType.FairyGrass)
|
| | | {
|
| | | hero.Pos = PlayerBornPosition2;
|
| | | }
|
| | | hero.Pos = PlayerBornPosition1;
|
| | | hero.Rotation = Quaternion.Euler(0, -9.537001f, 0);
|
| | | CameraController.Instance.Apply();
|
| | | }
|
| | |
|