【发布时间】:2020-03-29 12:27:42
【问题描述】:
当我在文本上的z axis 上编写根据距离显示分数的代码时,它会显示此消息。
我写了一行:
scoreText.text = player.position.z.toString("0");
调试时的错误是:
The property or indexer 'TextInputBaseField<string>.text' cannot be used in this context because the set accessor is inaccessible [Assembly-CSharp]
请帮帮我,我在互联网上都有。 问候。
【问题讨论】:
标签: c# unity3d game-development