- Home /
Finite State Machine
Hi! I am still fairly new to programming in unity and I have now come upon something that is a little perplexing to me. I have a finite state machine with 4 scripts: a state machine manager deriving from monobehaviour, an abstract class and 2 state scripts deriving from the abstract class. Now my question is: In which class I should read the input ? (I'm using the new input system and I have another script where I handle the call back context and the performed actions).
Answer by Pangamini · May 16 at 01:19 PM
That depends entirely on your state machine design. What are those states?
Your answer
Follow this Question
Related Questions
Detect physical keyboard vs touch input 0 Answers
Change input axis values from code 2 Answers
How can I get user-defined inputs? 1 Answer
How do I read input from Oculus & Vive controllers? 0 Answers