BAD.Decorator.ChildIsMissing C# (CSharp) Method

ChildIsMissing() protected method

protected ChildIsMissing ( ) : bool
return bool
        protected bool ChildIsMissing()
        {
            if(children.Count == 0) {
                Debug.LogWarning(string.Format("{0} has no child.", this));
                enabled = false;
                return true;
            }
            return false;
        }