Method GetParents
GetParents()
Returns the parents of the GameObject
Declaration
public GameObject[] GetParents()
Returns
Type | Description |
---|---|
GameObject[] | The parents of the GameObject |
Remarks
This will take a dependency on the parents
GetParents(Component)
Returns the parents of the GameObject
Declaration
public GameObject[] GetParents(Component component)
Parameters
Type | Name | Description |
---|---|---|
Component | component | The Object to get the parents from |
Returns
Type | Description |
---|---|
GameObject[] | The parents of the GameObject |
Remarks
This will take a dependency on the parents
GetParents(GameObject)
Returns the parents of the GameObject
Declaration
public GameObject[] GetParents(GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | The GameObject to get the parents from |
Returns
Type | Description |
---|---|
GameObject[] | The parents of the GameObject |
Remarks
This will take a dependency on the parents
GetParents(List<GameObject>)
Returns the parents of the GameObject
Declaration
public void GetParents(List<GameObject> parents)
Parameters
Type | Name | Description |
---|---|---|
List<GameObject> | parents | The parents of the GameObject |
Remarks
This will take a dependency on the parents
GetParents(Component, List<GameObject>)
Returns the parents of the GameObject
Declaration
public void GetParents(Component component, List<GameObject> parents)
Parameters
Type | Name | Description |
---|---|---|
Component | component | The Object to get the parents from |
List<GameObject> | parents | The parents of the GameObject |
Remarks
This will take a dependency on the parents
GetParents(GameObject, List<GameObject>)
Returns the parents of the GameObject
Declaration
public void GetParents(GameObject gameObject, List<GameObject> parents)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | The GameObject to get the parents from |
List<GameObject> | parents | The parents of the GameObject |
Remarks
This will take a dependency on the parents