Method AssignNewTarget
AssignNewTarget(GameObject, Component, string, ParameterApplicationFrequency)
Assigns a new target
Declaration
public void AssignNewTarget(GameObject targetObject, Component targetComponent, string fieldOrPropertyName, ParameterApplicationFrequency frequency)
Parameters
Type | Name | Description |
---|---|---|
GameObject | targetObject | The target GameObject |
Component | targetComponent | The target component on the target GameObject |
string | fieldOrPropertyName | The name of the property to apply the parameter to |
ParameterApplicationFrequency | frequency | How often to apply the parameter to its target |