Adding parameter names to NetworkCharacterComponent script events so people know what the parameters are used for in scriptcanvas
Signed-off-by: Gene Walters <genewalt@amazon.com>
This commit is contained in:
@@ -167,7 +167,7 @@ namespace Multiplayer
|
||||
if (AZ::BehaviorContext* behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
|
||||
{
|
||||
behaviorContext->EBus<NetworkCharacterRequestBus>("NetworkCharacterRequestBus")
|
||||
->Event("TryMoveWithVelocity", &NetworkCharacterRequestBus::Events::TryMoveWithVelocity);
|
||||
->Event("TryMoveWithVelocity", &NetworkCharacterRequestBus::Events::TryMoveWithVelocity, {{ { "Velocity" }, { "DeltaTime" } }});
|
||||
|
||||
behaviorContext->Class<NetworkCharacterComponentController>("NetworkCharacterComponentController")
|
||||
->RequestBus("NetworkCharacterRequestBus");
|
||||
|
||||
Reference in New Issue
Block a user