Marc Chapman 6 년 전
부모
커밋
4aed48697d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Templates/BaseGame/game/data/ExampleModule/components/ExampleComponent.cs

+ 2 - 2
Templates/BaseGame/game/data/ExampleModule/components/ExampleComponent.cs

@@ -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)
 {
     
@@ -15,7 +15,7 @@ function ExampleComponent::onClientConnect(%this, %client)
     
 }
 //onClientDisconnect is called any time a client disconnects from the server.
-function ExampleComponent::onClientDisonnect(%this, %client)
+function ExampleComponent::onClientDisconnect(%this, %client)
 {
 
 }