Added: 1 year ago
From: willgoldstone
Views: 9,792
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (14)

Sign In or Sign Up now to post a comment!
  • This is the best Unity Tutorial on youtube i've seen so far Perfect pacing by the way. Thumbs up

  • Comment removed

  • Comment removed

  • That was one of the coolest things I've seen in Unity3D. Will, could you create another tutorial using messaging? That has something to do with updating a score or decreasing life of an gameobject?

  • @strongme80 well that's what you need to combine - just use the other things learned via unity3dstudent together to get those effects. for example you could take a collision and when that occurs, use sendmessage to make something happen. I make use of SendMessage in my new book quite a lot, if you are learning Unity you might want to check it out, its called Unity 3.x Game Development Essentials by Will Goldstone.

  • how would i make a message that is not gameObject dependent, so if i wanted to put any game object that i assign to it....like,

    var gameObject01 : GameObject; //switch

    var gameObject02 : GameObject; //block

    or the col to something like this...

    function OnCollisionEnter(col : Collision)

    { if(col.gameObject01 == gameObject01.GameObject) { gameObject02.GameObject.SendMe­ssage("React"); }

    }

    but it doesn't seem to work...could you help me out thanks..

  • How would i make a script if i wanted all of the objects with a certain tag to have the message sent to it?

  • your the man, Will

  • @NorwegianStudios what do you mean by downloadable content? just make a link to the file you want people to download and make sure its in a non browser readable format like .zip, and it'll download.

  • very helpful!

  • nice :)

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