访问玩家的CharacterMotor并提高移动速度,但编译器显示对象不存在。使用股票第一人角色控制器
错误CS1061:键入UnityEngine.Component' does not contain a definition forCharacterMotor‘但找不到扩展方法CharacterMotor' of typeUnityEngine.Component’(是否缺少using指令或程序集引用?)("CharacterMotor").Character
错误:找不到路由对象。您的组件是否在导航器中的屏幕中?navigation.js代码示例 const route = useRoute(); // show error >> Error: Couldn'tIs your component inside a screen in a navigator?={HomeScreen} />
&