【发布时间】:2018-03-22 00:24:42
【问题描述】:
IEnumerator () { // this is were the error is
yield return new WaitForSeconds (10);
characterdirection.SetInteger ("State", 5);
}
这不起作用并说:错误(CS1525)意外符号'{'
【问题讨论】:
-
代码不正确。接口没有构造函数,很难理解你想要做什么,就像你试图拥有一个匿名委托一样。