![](/img/trans.png)
[英]Unity InputSystem Issues: Cannot edit bindings unless attached to a composite
[英]Unity - InputSystem error : "Cannot generate reader for abstract class InputControl"
我一直在成功使用新的 Unity 輸入系統,直到出現此錯誤並且我不知道如何解決它。 第一個錯誤顯示為“(0,0): error Cannot generate writer for abstract class InputControl”。 安慰
我正在使用輸入系統 1.3.0。 我還使用網絡資產 Mirror 以防它與它有關。
有人可以在這里幫助我嗎? =)
好的,我發現了問題:
我在我的一種輸入處理程序方法上添加了 [Command] header,刪除它后它工作正常。
//[Command]
public void OnScroll(InputAction.CallbackContext ctx)
不是
[Command]
public void OnScroll(InputAction.CallbackContext ctx)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.