Skip to main content

All Questions

Tagged with
1 vote
1 answer
82 views

On button hover, textblock needs to display some text in c#

I have a button. On mouse hovering on the button, a textblock used in my project should display some value. Button is defined in the library and that library I am using in my project. In my project I ...
mili's user avatar
  • 27
1 vote
0 answers
29 views

How to stop OnTriggerEnter function calls when they are too fast [Unity]

When there are a lot of monsters, it seems like TriggerEnter2D gets called multiple times as the player's bullets attack them. I tried to block the call with the code, but it doesn't seem to work. How ...
 SURI's user avatar
  • 11
0 votes
0 answers
35 views

Powerpoint VBA inquiry : Sound after Trigger

Good morning. I'm testing a Powerpoint vba code in c#. My goal is to trigger a shape to rotate by 90 degree with sound effect. Here's my code (C#) `Microsoft.Office.Interop.PowerPoint.Effect pEffect; ...
I am Nothing's user avatar
0 votes
1 answer
248 views

SQL Server insert trigger not firing using EF Core

I have this insert trigger which handles duplicate key insert attempts: -- Create trigger to not throw in case of duplicate mapping attempt CREATE TRIGGER dbo.BlockDuplicates_Product_Category_Mapping ...
anastaciu's user avatar
  • 23.8k
-1 votes
1 answer
40 views

Unity 2D Jump & Run: Implementing Enemy Collisions for Game Over Scene

I want to build a 2D jump and run game in Unity using C#. Currently, I am working on the enemies' functionality. My goal is to implement a game over scene that triggers when the player collides with ...
Kilian's user avatar
  • 25
0 votes
0 answers
413 views

Animate multiple controls using a trigger in .NET MAUI

I am using a separate namespace for triggers to not break MVVM here. When the primary button below is clicked I want to animate said button. So far so good, but I also want to animate one or more ...
Al John's user avatar
  • 771
0 votes
1 answer
196 views

Azure SQL trigger item contains null values after conversion to isolated model

I am trying to convert an Azure function from .Net6.0 and In-process model, to .Net8.0 and Isolated model. The function uses Azure SQL triggers on an Azure SQL server database with change tracking ...
SMK's user avatar
  • 3
0 votes
2 answers
64 views

Trying to get a platform to fall after touching it for a total of 5 seconds in C#

I'm attempting to make a falling animation activate after my Player steps on a platform for a certain amount of time. I'm trying to do this in Unity with c#. I've tried to use a coroutine to execute ...
stratutrav's user avatar
0 votes
0 answers
474 views

WinUI 3, Button Style Error: The attachable property 'Triggers' was not found in type 'Style'

I am developing a WinUI 3 C# app and have this XAML snippet: <Style TargetType="AppBarButton" x:Key="VolumeButtonStyle"> <Setter Property="Background" Value=&...
Κωνσταντίνος Κ.'s user avatar
0 votes
1 answer
63 views

Interaction Trigger with condition

Is it possible to Invoke a command action conditionally? Basically I have created a Custom control (DialogHeader) which I am going to use for all of my DialogWindow Headings. In some of the ...
Richard Gale's user avatar
  • 1,932
0 votes
1 answer
55 views

Null error when trying to get a variable in Unity [duplicate]

I am trying to add to my Unity game the option to collect hearts that are on the map, and if the hearts health bar isn't full it will fill up accordingly. To do that, I want to take values from my ...
TUK's user avatar
  • 51
1 vote
1 answer
94 views

Unity - Getting different results when calling the same method from separate scripts

I am trying to make a snake-like game where you control a snake "head" and eat little cubes of food that randomly spawn on the map one at a time. Each food item should disappear after it ...
Lukavich's user avatar
0 votes
0 answers
55 views

Player is expelled from trigger when becoming child of a GameObject with a trigger

The version used here is Unity 2021.3.25f1. When changing the parent of my player when entering a trigger, my player "jump" and is "expelled" from the trigger. The trigger on the ...
Aikkyo's user avatar
  • 1
-2 votes
1 answer
41 views

Unity3D Input.GetKeyDown and OnTriggerEnter problem

This is my first time submitting a problem here. It’s in first person. The problem I’m having, is that when the player enters the box collider and presses E the text with E show up but then when I ...
Yesik's user avatar
  • 1
0 votes
2 answers
60 views

Trigger event when Combobox contains only one item

I need disable a combobox whenever it contains only 1 item. I spent a fair amount of time reading the documentation on the microsoft website, but I cannot see any trigger for this type of events. Is ...
Carlos M's user avatar
  • 224

15 30 50 per page
1
2 3 4 5
49