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?

1 Answer

1

It's javascript's way of doing a hashtable