Added: 1 year ago
From: infiniteammoinc
Views: 13,665
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (29)

Sign In or Sign Up now to post a comment!
  • what if would like to do the same thing but with a text instead of a button?

  • 6:12 I got an error: (The whole message was over 600 letters so I can't post it here.)

    MissingMethodException: Method not found: 'UnityEngine.GUILayout.button'­.

    Boo.Lang.Runtime.DynamicDispat­ching.MethodDispatcherFactory.­ProduceExtensionDispatcher ()

  • yellow is not ugly !!!

  • how do you make the games that you can have continues and loads and saves on it?

  • it's not java, it's javascript, different than the browser-based one. In Unity, it's not really javascript, its Unityscript, though called javascript (i dont know why). C# is more advanced and you can make more precise code and perhaps it's easier and quicker when you learn it, I don't know, I'm sticking with javascript, simpler, and is good enough to make a simple third-person shooter or RPG.

  • Comment removed

  • maar dat wil bij mij maar niet werken

    kan dat liggen aan dat ik windows heb en geen mac

  • I have a custom texture which acts as a background. 12 buttons (4x3) overlap this background, each must be spaced equally, but not all will be shown at once, and they must all stay in their own position.

    The background image is scaled according to the resolution. How do I get each button to stay at a location relative to the background regardless of the background's scale? :S

    I've been trying to take percentages but my background image has a border of 'deadspace' which makes it difficult.

  • thanks so much man, so helpful :)

  • very informative and helpful! also very humorous. Perfect for me!!!

  • Do you recommend any books or resources to fully learn JavaScript inside of Unity 3D? Please reply, thanks.

  • Great video, saved me a lot of time. Thanks!

  • ur a really good tutor

  • I like the way by buttons work, I just want them to load Application.LoadLevel "6foot" "60foot" and "100foot" My Scenes are in the Build window by the names mentioned above. Im just so freekin tiered I cant think anymore. also I tried the "if( GUIContent" and the ver's ther not working ether. I was hoping you would finish tut 4 part 3 what am I missing? Thanks for your help. below is my script.

  • function OnGUI () {

    GUI.Box (Rect (10, 10, 100, 120), "SELECT");

    GUI.Button (Rect (10, 30, 100, 20), GUIContent ("Elevation  6'"));

    GUI.Button (Rect (10, 60, 100, 20), GUIContent ("Elevation 60'"));

    GUI.Button (Rect (10, 90, 100, 20), GUIContent ("Elevation 100'"));

    }

    }

  • if i had to learn a scripting language, what would be best, what is easiest, what is most popular/used most, which one is faster, i want it to work with untity, what has the most features

  • @samm565 Start with JavaScript, then switch to C# once you've got the basics.

  • @infiniteammoinc alright then, i wont learn now, but i might do that for the future

  • @infiniteammoinc i can see why java would be easier, but what is better with C#?

  • Please, can you load up this project and share it with us? I don't understand some things :(

  • could this be used to make upgrade games, like make a screen where you can buy bombs or guns?

  • @Mattchu1995 That's up to you. You can turn it into whatever you want!

  • @infiniteammoinc  if(GUI.Button(Rect(450, 200, 200, 100), "New Game")) 450, 200 is the center

  • Great video, thanks for the help! Looking forward to the next one.

  • Could you explain how to make a loading screen in one of these tutorials? Thanks

  • Cant wait for the next one

  • if anyone is wondering how to make exit application the function is

    Application.Quit();

    it only works when your scene is build cause it wont exit in editor ;)

  • @Beady2 It doesn't work in the editor, it will only work when you build the game.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more