新加入一些屏幕效果的脚本
This commit is contained in:
@@ -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; // 蓝色
|
||||
|
||||
Reference in New Issue
Block a user