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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

need help for making unity 5 RTS !

Discussion in 'Getting Started' started by 1701329761, Dec 19, 2015.

  1. 1701329761

    1701329761

    Joined:
    Mar 22, 2015
    Posts:
    7
    i am new to game development, but the C# code diffrent from unity 4 to 5.

    i am looking tutorial for RTS game for unity 5.

    help.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,848
    The C# code is not significantly different from Unity 4 to 5. If you find an RTS tutorial for Unity 4, just follow it as well as you can, and ask questions here when you get stuck on something.
     
    1701329761 likes this.
  3. 1701329761

    1701329761

    Joined:
    Mar 22, 2015
    Posts:
    7
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,143
    One of the best ways to know the differences is to read the release notes. Click the Quick Jump marked Changes and scroll down till you see Scripting.

    https://unity3d.com/unity/whats-new/unity-5.0

    Alternatively you might find some information through Google. This site mentions the primary scripting difference in 5.

    http://www.completeunitydeveloper.com/blog/unity-5-interface-differences-at-a-glance

    Additionally learn to pay attention to the console window. Often times the solution is actually mentioned in the error message itself. This is especially true with changes brought by 5.
     
    Last edited: Dec 19, 2015
  5. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,848
    Yep, and when you can't figure it out yourself, take the first error, copy the exact error message from in the Console, and the line of code (perhaps with some surrounding context) identified as the source of the error, and paste them in a well-worded question. That will get a quick and useful answer. Things like "i tried this but it doesnt work" will not.
     
    Ryiah likes this.
  6. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    The script looks pretty decent to me. There is nothing in there that's changed lately.