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. Dismiss Notice

Help PLEASE

Discussion in 'Getting Started' started by SHAUZZ, Sep 30, 2020.

  1. SHAUZZ

    SHAUZZ

    Joined:
    Jul 27, 2020
    Posts:
    8
    Hello Im looking to make gun script but none work can someone help me
     
  2. SHAUZZ

    SHAUZZ

    Joined:
    Jul 27, 2020
    Posts:
    8
    also I use 2019.4 editor
     
  3. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    Just a bit of advice, since you're new to the forums.

    Use descriptive post titles
    Instead of "Help please" or "Help PLEASE", try "Trouble with jumping on character controller" and "Help finding a gun script." You'll get more people willing to click the link to your post if they know what they're getting into ahead of time.

    Be specific... And share your code
    In my experience, people are more successful with receiving help here when they ask for help with specific issues. Instead of asking for vague help with making a gun script because the ones you found "don't work," show what you currently have. Indicate what isn't working. Post the entire script, the exact error messages you're getting, and if relevant, screenshots of things that aren't functioning as expected. Remember that nearly everyone posting here is volunteering their time to help you, so try to respect that time by spending yours up front to give a clear idea of what your issue is.

    Use Code Tags
    It's tucked under another subforum, but there's a great post describing how to use script tags to format your code here. It makes it much more readable and easier for people to figure out where you've got issues.

    Keep trying, and keep posting. Just don't forget to help us help you!
     
    JoeStrout and Vryken like this.
  4. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
    In the world of programming, there are countless ways to create a solution to a problem, so specifics matter a lot.

    "A gun script" is very vague, and there are many different ways to interpret how it could function. It all depends on how your game is structured.
     
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Generally you're not going to find someone who just writes you an entire script, especially if you're not going to provide any context. "A gun script" can mean a lot of different things. For example, here is a gun script though not all that useful.

    Code (csharp):
    1. public static bool GunScript = true;
     
    JoeStrout likes this.