Update ActionPromptTMP.cs

This commit is contained in:
陈思海 2025-12-05 20:58:56 +08:00
parent cab161a886
commit a472318e55

View File

@ -36,6 +36,7 @@ public class ActionPromptTMP : MonoBehaviour
UpdatePrompt();
}
void UpdatePrompt()
{
if (actionReference == null || actionReference.action == null || textField == null) return;