Language
Edit

DataConsumerThemableBase<T>.DoesManageSpecificComponents Method

Definition

Report whether this is a Unity Component centric data consumer

protected virtual bool DoesManageSpecificComponents();
abstract member DoesManageSpecificComponents : unit -> bool
override this.DoesManageSpecificComponents : unit -> bool
Protected Overridable Function DoesManageSpecificComponents () As Boolean

Returns

true means this is a component centric data consumer.

Remarks

For data consumers that manage Components of specific types like Renderer, the base class will do some of the discovery and management of those components. Some data consumers are not component centric and therefore can return false to indicate that no component management is needed.

Applies to