Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Return help?

Discussion in 'Scripting' started by Thor018, Mar 11, 2018.

  1. Thor018

    Thor018

    Joined:
    Nov 19, 2017
    Posts:
    2
    Hello I’m trying to allow a player to return to a previous choice in a text adventure game but I can’t seem to get my code to work? Any tips?
     
  2. Suddoha

    Suddoha

    Joined:
    Nov 9, 2013
    Posts:
    2,824
    With regards to the thread's title ("return help") :
    Code (csharp):
    1. {  
    2.     //...
    3.     return help;
    4. }
    :cool:

    Jokes aside.

    You'll have to post some code and get a little more into detail. What's happening in your code? Are you struggling with compile-time errors or runtime errors? Is is just not working as expected? A lot more things to answer. Consider using code tags when you post some snippets.