| GameLiftManagerGameControllerSetParent Method |
Sets an object's parent based upon that object's ID or name. Preferably ID as it's a lot faster
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax private void SetParent(
GameObject _myObject,
string _parentID
)
Private Sub SetParent (
_myObject As GameObject,
_parentID As String
)
private:
void SetParent(
GameObject^ _myObject,
String^ _parentID
)
private member SetParent :
_myObject : GameObject *
_parentID : string -> unit
Parameters
- _myObject
- Type: GameObject
The object that needs a parent assigned to it - _parentID
- Type: SystemString
The id of the parent to be assigned, or the name of the parent if the parent is not an ASL object
See Also