In the Island Demo, the "localPlayer" gameObject has "AnimationSynchronizer" attached to it.
In that script, there is a function called "void PlayAnimation(string message)".
Where the heck is that being called from? I cannot find any other component calling this function but obviously it's working.
Thanks!
AnimationSynchronizer and Island Demo
-
- Posts: 61
- Joined: 16 Jan 2009, 14:48
-
- Posts: 61
- Joined: 16 Jan 2009, 14:48
Found it!
It was in the "FPSWalker.js" file.
It seems that the function call "SendMessage" will broadcast a message to all scripts that are listening to it.
Hope this helps someone!
It seems that the function call "SendMessage" will broadcast a message to all scripts that are listening to it.
Hope this helps someone!
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 31 guests