Regarding the EnhancedInputActionTrigger
Posted: 21 Aug 2023, 08:44
Hello!
Regarding the EnhancedInputActionTrigger, there have been some issues when using it locally. My ue version is 5.2 and Noesis SDK is 3.2.1.
I have created an input mapping context and input action based on the Enhanced Input Actions tutorial in UE. I have also added the corresponding code in MainWindow.xaml, and I can see that the input action has been activated according to the debug command. However, the action bound in XAML is not being executed,The Rectangle is still Blue.
I'm not sure if I missed any steps.
Regarding the EnhancedInputActionTrigger, there have been some issues when using it locally. My ue version is 5.2 and Noesis SDK is 3.2.1.
I have created an input mapping context and input action based on the Enhanced Input Actions tutorial in UE. I have also added the corresponding code in MainWindow.xaml, and I can see that the input action has been activated according to the debug command. However, the action bound in XAML is not being executed,The Rectangle is still Blue.
I'm not sure if I missed any steps.
Code: Select all
<Grid>
<noesis:EnhancedInputActionTrigger Action="OpenStart" TriggerEvent="Triggered">
<b:ChangePropertyAction TargetName="rect" PropertyName="Fill" Value="Red"/>
</noesis:EnhancedInputActionTrigger>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="9*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="5*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Rectangle x:Name="rect" Fill="Blue" />
<local:MainMenu x:Name="Main" Grid.Row="1" Grid.Column="1" />
<local:StartMenu x:Name="Start" Grid.Row="1" Grid.Column="1" Visibility="Hidden" />
<local:SettingsMenu x:Name="Settings" Grid.Row="1" Grid.Column="1" Visibility="Hidden" />
</Grid>