update hehehe

This commit is contained in:
2026-04-15 10:45:47 +07:00
parent e51f5cb82d
commit 02c2390d83
5 changed files with 137 additions and 37 deletions

View File

@@ -19,6 +19,16 @@ namespace OnlyScove.Scripts
private Material lampMaterial;
private Color originalEmissionColor;
public override string InteractionPrompt
{
get
{
string action = isOn ? "Tắt " : "Bật ";
string name = interactionData != null ? interactionData.promptText : "Đèn";
return action + name;
}
}
private void Start()
{
// Khởi tạo Material (tạo bản thực thi riêng để không lỗi Shader)