-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 replies
- 2 views
-
Game engine company Unity will lay off 25 percent of its employees by the end of March
By John Callaham,
- unity
- unity engine
- (and 2 more)
- 4 replies
- 5 views
-
- 1 reply
- 5 views
-
Unity CEO John Riccitiello is departing after the company backtracked on its fee changes
By John Callaham,
- 9 replies
- 6 views
-
Unity officially backtracks on many of its previously announced per-install runtime fees
By John Callaham,
- 10 replies
- 6 views
-
Question
DaveGreen93
Hi guys,
Hoping someone here can help me with C# and Unity.
I'm working on a project and trying to animate a door I created in 3DS max. I've attached a script to a switch in the scene and press it. It isn't acting as I would expect.
Instead of playing the open animation, it just plays the close animation every time I interact with the switch.
Adding the Debug lines, shows that "First" is passed twice for every interaction and "Closed" and "Opened" are passed once each. I'm struggling to see why this is and hoping a fresh pair of eyes could spot the issue and suggest a solution.
Link to comment
Share on other sites
16 answers to this question
Recommended Posts