- Home /
Question by
Statement · Apr 03, 2011 at 12:15 AM ·
itweenlanguagejavascript-specific
What is the language construct iTween use to create commands?
iTween.MoveTo(gameObject,{"path":path,"time":mySpeed,"orienttopath":true,"looktime":.6,"easetype":"easeInOutSine","oncomplete":"complete"});
As I am a buddying UnityScript writer, I am wondering what the following snippet of the above code is:
{"path":path,"time":mySpeed,"orienttopath":true,"looktime": .6,"easetype":"easeInOutSine","oncomplete":"complete"}
Is it some kind of delegate? Some sort of array? How can I make use of something similar?
It's puzzling to me. It looks like an array, but arrays use [ ] brackets, right?
Comment