DataConsumerGOBase.AddVariableKeyPathsForComponent(Component) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.