Unity 5.5.2f1 to 5.6.1f1 - interpolated strings error?

后端 未结 3 960
逝去的感伤
逝去的感伤 2021-01-12 20:51

I\'ve just updated my Unity version from 5.5.2f1 to 5.6.1f1. Suddenly I get the error:

Feature `interpolated strings\' cannot be used because it is n

3条回答
  •  臣服心动
    2021-01-12 21:49

    I have had success using

    string.format("{0},{1},{2},{3}, {4}", Timestamp, Humidity, Temp, Light, Button);
    

提交回复
热议问题