| GameLiftManagerGameControllerSpawnPrefab Method |
This function spawns a prefab object with ASL attached as a component. This function is triggered by a packet received from the relay server.
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SpawnPrefab(
DataReceivedEventArgs _packet
)
Public Sub SpawnPrefab (
_packet As DataReceivedEventArgs
)
public:
void SpawnPrefab(
DataReceivedEventArgs^ _packet
)
member SpawnPrefab :
_packet : DataReceivedEventArgs -> unit
Parameters
- _packet
- Type: DataReceivedEventArgs
The packet containing the id of the object to create, what prefab to create it with, where to create it, and depending on what the user inputted, may
contain its parent's id, a callback function's class name and function name that is called upon creation, and a callback function's class name and function name
that will get called whenever a claim for that object is rejected.
See Also