public static Assert ( bool expr ) : void | ||
expr | bool | |
Результат | void |
public static UQtLeaf FindLeafRecursively(UQtNode node, Vector2 point) { if (!node.Bound.Contains(point)) { return(null); } if (node is UQtLeaf) { return(node as UQtLeaf); } foreach (var sub in node.SubNodes) { UQtLeaf leaf = FindLeafRecursively(sub, point); if (leaf != null) { return(leaf); } } UCore.Assert(false); // should never reaches here return(null); }
public override void SetSubNodes(UQtNode[] subNodes) { UCore.Assert(false); }