public override void Execute() { if (current == null) { Debug.LogWarning(Dependancy.FormatExceptionText(nameof(current), this)); } else { current.Hide(); } if (target == null) { Debug.LogWarning(Dependancy.FormatExceptionText(nameof(target), this)); } else { target.Show(); } }