I'm trying to set the delay property of the TweenScale component in my code.
Just wondering how I can accomplish this?
Here's what I have tried so far:
float myDelay = 1.0f;
public void setDelay () {
gameObject.GetComponent<TweenScale>.delay() = myDelay;
}
I found this thread where it is mentioned that delay is a property:
http://www.tasharen.com/forum/index.php?topic=2231.0note: I'm new so exact syntax is always a big help to me
