2026-05-29 웨이브 시스템
This commit is contained in:
27
Assets/TextMesh Pro Effect/Editor/TextMeshProEffectEditor.cs
Normal file
27
Assets/TextMesh Pro Effect/Editor/TextMeshProEffectEditor.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable CheckNamespace
|
||||
#pragma warning disable 0649
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TMPro.Editor
|
||||
{
|
||||
[CustomEditor(typeof(TextMeshProEffect))]
|
||||
public class TextMeshProEffectEditor : UnityEditor.Editor
|
||||
{
|
||||
public override bool RequiresConstantRepaint()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
if (!Application.isPlaying)
|
||||
{
|
||||
EditorApplication.QueuePlayerLoopUpdate();
|
||||
SceneView.RepaintAll();
|
||||
}
|
||||
base.OnInspectorGUI();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user