新加入一些屏幕效果的脚本

This commit is contained in:
2024-09-02 20:37:12 +08:00
parent 41df565c03
commit 2491378506
4 changed files with 93 additions and 2 deletions
@@ -18,7 +18,7 @@ public class MessageBox : MonoBehaviour
else
{
Instance = this;
DontDestroyOnLoad(gameObject); // 可选:保持在场景加载之间
//DontDestroyOnLoad(gameObject); // 可选:保持在场景加载之间
}
}
// Yarn Command处理方法
@@ -67,7 +67,7 @@ public class MessageBox : MonoBehaviour
}
// 设置为Null状态
public void SetNull()
private void SetNull()
{
state.text = "NO SIGNAL";
state.color = Color.blue; // 蓝色