Language
Edit

DataConsumerGOBase.AddVariableKeyPathsForComponent(Component) Method

Definition

Add variable key paths for a component.

protected virtual void AddVariableKeyPathsForComponent(UnityEngine.Component component);
abstract member AddVariableKeyPathsForComponent : UnityEngine.Component -> unit
override this.AddVariableKeyPathsForComponent : UnityEngine.Component -> unit
Protected Overridable Sub AddVariableKeyPathsForComponent (component As Component)

Parameters

component
UnityEngine.Component

The found Component to process for key paths.

Remarks

For consumers that manage one or more components for modification based on data received, this is a convenience method that is called once per component of the specified types declared in GetComponentTypes().

Note that if you do not manage specific components, no need to override this method. Instead, register keypath listeners via a different method specified to the need.

Applies to