代码地址
https://github.com/Unity-Technologies/EntityComponentSystemSamples/tree/master/UnityPhysicsSamples/Assets/Demos/6.%20Use%20Cases/CharacterController
系统构成
输入系统
需要在ProjectSettings.asset中加入UNITY_INPUT_SYSTEM_EXISTS宏定义
scriptingDefineSymbols:
1: UNITY_POST_PROCESSING_STACK_V2;UNITY_INPUT_SYSTEM_EXISTS
输入的配置在Common/InputActions
DemoInputGatheringSystem 负责收入的接收,并写入CharacterControllerInp