【发布时间】:2021-04-21 17:33:08
【问题描述】:
这是我的代码 GetComponent ().text = PlayerPrefs.GetInt("skor").ToString;
错误:无法将方法 grup "tostring" 转换为非委托类型 "string"
我不知道,为什么?请给我解决这个问题
【问题讨论】:
-
因为你需要这样称呼它“ToString();”你看到你缺少括号
-
也只是作为建议......你应该在stackoverflow询问之前搜索谷歌并学习。
标签: unity3d