public void Start() { Camera mainCamera = Camera.main; DataManager dataManager; dataManager = WindyFramework.FrameworkEntry.GetComponent <DataManager>(); stageDataSheet = dataManager.GetDataSheet <StageDataRow>("Stage"); PlayerManager playerManager; playerManager = WindyFramework.FrameworkEntry.GetComponent <PlayerManager>(); playerStageInfoManager = playerManager.playerStageInfoManager; stageInfo = mainCamera.transform.Find("MainScene").Find("StageInfo").GetComponent <TMPro.TextMeshPro>(); monsterStrength = mainCamera.transform.Find("MainScene").Find("Monster").Find("MonsterStrength").Find("StrengthValue").GetComponent <TMPro.TextMeshPro>(); CurMonsterLevel = 10; }
public PlayerStageInfoManager() { stageDataTable = FrameworkEntry.GetComponent <DataManager>().GetDataSheet <StageDataRow>("Stage"); eventManager = FrameworkEntry.GetComponent <EventManager>(); UnlockStage = 40; }