From 76633c5f2f7668a0123d4d86725fa2a2ac0f3b2f Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Tue, 12 May 2015 14:57:02 +0100 Subject: [PATCH] Fixed iTween target property not upgrading from beta 6 #99 The targetObject property was called target in beta 6. --- Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs b/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs index c0609c2f..29e23efb 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs @@ -1,5 +1,6 @@ using UnityEngine; using System.Collections; +using UnityEngine.Serialization; namespace Fungus { @@ -14,6 +15,7 @@ namespace Fungus public abstract class iTweenCommand : Command { [Tooltip("Target game object to apply the Tween to")] + [FormerlySerializedAs("target")] public GameObject targetObject; [Tooltip("An individual name useful for stopping iTweens by name")]