Closed dayoff53 closed 1 year ago
https://github.com/Team-Futurity/Futurity/assets/42767781/8d3b4614-98d7-4257-a737-a00803f17af7
https://github.com/Team-Futurity/Futurity/assets/42767781/669d4db6-9a3b-4b5a-ad4d-587db934e89e
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.InputSystem; public class CharacterWindowOpener : MonoBehaviour { [SerializeField] Canvas canvas; [SerializeField] GameObject characterWindow; [SerializeField] private List<string> texts; GameObject currentCharacterWindow; CharacterDialogController characterDialogController; private void Start() { currentCharacterWindow = WindowManager.Instance.WindowOpen(characterWindow, canvas.transform, false, Vector2.zero, Vector2.one); characterDialogController = currentCharacterWindow.GetComponent<CharacterDialogController>(); characterDialogController.SetTexts(texts); characterDialogController.WriteCharactorText(); } }
Feat : CharacterDialogWindow의 텍스트 저장 및 스킵기능 추가
https://github.com/Team-Futurity/Futurity/assets/42767781/8d3b4614-98d7-4257-a737-a00803f17af7
https://github.com/Team-Futurity/Futurity/assets/42767781/669d4db6-9a3b-4b5a-ad4d-587db934e89e
작업 내용
사용 방법