摘要:
1 在AuraPlayerController.h中 增加 public: virtual void PlayerTick(float DeltaTime) override; private: CursorTrace(); 2 在AuraPlayerController.cpp中实现 Player 阅读全文
posted @ 2025-08-11 22:51
偷懒的阿贤
阅读(5)
评论(0)
推荐(0)
摘要:
1 创建一个Interaction/UserInterface 2 在EnemyInterface.h中 public: virtual void HighlightActor() = 0; virtual void UnHighlightActor() = 0; 3 在AAuraEnemy.h中继 阅读全文
posted @ 2025-08-11 22:23
偷懒的阿贤
阅读(4)
评论(0)
推荐(0)
摘要:
1 创建AuraGameModeBase 2 将GameMode中相关的Pawn->AuraCharacter,playerController->AuraPlayerController 3 在AuraCharacter的构造函数中 { GetMoveComponent()->bOrientRot 阅读全文
posted @ 2025-08-11 22:14
偷懒的阿贤
阅读(11)
评论(0)
推荐(0)
摘要:
1 在AuraPlayerController中 增加virtual SetupInputComponent();//需要增加EnhancedInputComponent.h { UEnhancedInputComponent* InputComponent = Castchecked<UEnhan 阅读全文
posted @ 2025-08-11 22:06
偷懒的阿贤
阅读(8)
评论(0)
推荐(0)
浙公网安备 33010602011771号