Declared in UniverseBehaviour
Declaration
UniverseObject FindParentWithType(
Type type,
bool search
);
Description
Returns an attached parent that satisfies the specified type.
Parameters
Name | Description |
---|---|
type | A universe object type. |
search | Search for top-most parent. |