-
Notifications
You must be signed in to change notification settings - Fork 1
Alpha
Jan-Ole Schümann edited this page May 21, 2017
·
2 revisions
Tweens the alpha value of a GameObject, Transform or RectTransform. The value should be between 0 and 1.
The example below shows how to fade out an object from its current alpha value to 0.
TweenSharp tween = new TweenSharp(gameObject, 5f, new Dictionary<string, object>() {
{"alpha", 0f},
{"ease", Quad.EaseOut}
});