Browse Source

ScaleTo command defaults to 1,1,1 scale

master
chrisgregan 10 years ago
parent
commit
24d57c3990
  1. 2
      Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs

2
Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs

@ -12,7 +12,7 @@ namespace Fungus
public Transform toTransform;
[Tooltip("Target scale that the GameObject will scale to, if no To Transform is set")]
public Vector3 toScale;
public Vector3 toScale = new Vector3(1f, 1f, 1f);
public override void DoTween()
{

Loading…
Cancel
Save