示例#1
0
 private void Start()
 {
     m_MovementState            = GetComponent <MovementStateComponent>();
     m_RotationController       = GetComponent <RotationController>();
     EventOperations.MoveEvent += OnMoveEvent;
 }
 private void Awake()
 {
     m_RotationController = GetComponent <RotationController>();
     m_MovementSpeed      = GetComponent <RemoteMovementSpeedComponent>();
     m_MovementState      = GetComponent <MovementStateComponent>();
 }