How would I go about having a clickable object in my scene that when clicked on would trigger the next state. For example:
My game is a text based pick your own path and say the player is fighting a robot... clicking on the head will kill the robot and take the player down a different to story path to say clicking on the robots hand. Clicking on the hand would generate a few more states with story until the robot is killed.
Sorry if this is confusing I am trying to understand it myself haha. I already have a script that loads the next state if the player presses 1 or 2 on the keyboard.