Provides functions to get/set the isViewable flag of any IGraphicsViewable components in a given object, and it's descendants.
Static Public Member Functions | |
static bool | GetViewableIncludingDecendants (GameObject decendantsOf) |
Searches object and descendants for IGraphicsViewable components, and checks the isViewalble member; if ANY are viewable, returns true. | |
static void | SetViewableIncludingDecendants (GameObject decendantsOf, bool visibile) |
Searches object and descendants for IGraphicsViewable components, and sets the isViewalble member to the provided value. | |