static public int GetComponentInChildrenTopLevel(IntPtr l) { try { UnityEngine.Component self = (UnityEngine.Component)checkSelf(l); var ret = self.GetComponentInChildrenTopLevel <UnityEngine.Component>(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }