Esempio n. 1
0
        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();
            }
        }