Browse Source

Fixed iTween target property not upgrading from beta 6 #99

The targetObject property was called target in beta 6.
master
chrisgregan 10 years ago
parent
commit
76633c5f2f
  1. 2
      Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs

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

@ -1,5 +1,6 @@
using UnityEngine; using UnityEngine;
using System.Collections; using System.Collections;
using UnityEngine.Serialization;
namespace Fungus namespace Fungus
{ {
@ -14,6 +15,7 @@ namespace Fungus
public abstract class iTweenCommand : Command public abstract class iTweenCommand : Command
{ {
[Tooltip("Target game object to apply the Tween to")] [Tooltip("Target game object to apply the Tween to")]
[FormerlySerializedAs("target")]
public GameObject targetObject; public GameObject targetObject;
[Tooltip("An individual name useful for stopping iTweens by name")] [Tooltip("An individual name useful for stopping iTweens by name")]

Loading…
Cancel
Save