Files
obsidian-notes/1Project/构建新框架/MVVM/UI框架.md
zzzisfunnyboy 897b7cb217 MVVM
2025-06-18 00:26:05 +08:00

350 B
Raw Blame History

单向绑定

[OnValueChanged(viewModel=>viewModel.hp, value=>string.Format("{0:D4}"))]
CustomText text;

public class CustomText
{
	public Text text;
	public void SetText(string str)
	{
		text.text = str;
	}
}

deepseek扩展 DeepSeek - 探索未至之境