diff --git a/Assets/Fungus/Sprite/Scripts/Commands/SetCollider.cs b/Assets/Fungus/Sprite/Scripts/Commands/SetCollider.cs index 485733aa..252a004f 100644 --- a/Assets/Fungus/Sprite/Scripts/Commands/SetCollider.cs +++ b/Assets/Fungus/Sprite/Scripts/Commands/SetCollider.cs @@ -14,7 +14,7 @@ namespace Fungus public List targetObjects = new List(); [Tooltip("All objects with this tag will have their collider set active / inactive")] - public string targetTag; + public string targetTag = ""; [Tooltip("Set to true to enable the collider components")] public BooleanData activeState; @@ -56,7 +56,6 @@ namespace Fungus public override string GetSummary() { int count = targetObjects.Count; - count += GameObject.FindGameObjectsWithTag(targetTag).Length; if (activeState.Value) {