This commit is contained in:
Marc Chapman 2019-10-16 19:22:56 +01:00
parent 894d2c042a
commit dcc1c47e39

View file

@ -4,7 +4,7 @@ function ExampleComponent::onAdd(%this)
{ {
} }
//onAdd is called when the component is removed and deleted from it's owner entity. //onRemove is called when the component is removed and deleted from it's owner entity.
function ExampleComponent::onRemove(%this) function ExampleComponent::onRemove(%this)
{ {
@ -15,7 +15,7 @@ function ExampleComponent::onClientConnect(%this, %client)
} }
//onClientDisconnect is called any time a client disconnects from the server. //onClientDisconnect is called any time a client disconnects from the server.
function ExampleComponent::onClientDisonnect(%this, %client) function ExampleComponent::onClientDisconnect(%this, %client)
{ {
} }