From 24d57c3990e286f8a079f650e2165d3de1772639 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 28 Nov 2014 12:35:59 +0000 Subject: [PATCH] ScaleTo command defaults to 1,1,1 scale --- Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs b/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs index a2186a3d..6729f062 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs +++ b/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() {