Method AddFromName
AddFromName<T>(string)
Add property modifications using the serialized property name.
Declaration
void AddFromName<T>(string name) where T : Component
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the serialized property |
Type Parameters
Name | Description |
---|---|
T | The type of the component the property exists on |
Remarks
This method uses the most recent gameObject from PushActiveGameObject
AddFromName(string)
Add property modifications using the serialized property name.
Declaration
void AddFromName(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the serialized property |
Remarks
This method uses the most recent gameObject from PushActiveGameObject
AddFromName<T>(GameObject, string)
Add property modifications using the serialized property name.
Declaration
void AddFromName<T>(GameObject obj, string name) where T : Component
Parameters
Type | Name | Description |
---|---|---|
GameObject | obj | The gameObject where the properties exist |
string | name | The name of the serialized property |
Type Parameters
Name | Description |
---|---|
T | The type of the component the property exists on |
AddFromName(GameObject, string)
Add property modifications using the serialized property name.
Declaration
void AddFromName(GameObject obj, string name)
Parameters
Type | Name | Description |
---|---|---|
GameObject | obj | The gameObject where the properties exist |
string | name | The name of the serialized property |
AddFromName(Component, string)
Add property modifications using the serialized property name.
Declaration
void AddFromName(Component component, string name)
Parameters
Type | Name | Description |
---|---|---|
Component | component | The component where the properties exist |
string | name | The name of the serialized property |