thewar_client/Client/Assets/1_Script/Prefab/StoryPrefab.cs

12 lines
196 B
C#

using TMPro;
using UnityEngine;
public class StoryPrefab : MonoBehaviour
{
[SerializeField] TMP_Text storyText;
public void StoryButton()
{
Debug.Log(storyText.text);
}
}