Skip to content

Commit 244c63e

Browse files
committed
fix: Fixed MLAPI Example callbacks
1 parent 7da1658 commit 244c63e

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

MLAPI-Examples/NetworkedBehaviourCallbacks.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,5 @@ public override void NetworkStart(Stream payload)
1212
// The NetWorkStart can be used with or without the "Stream payload" parameter
1313
// If it's included it will contain the payload included in the Spawn method if applicable.
1414
}
15-
16-
public override void OnEnabled()
17-
{
18-
// Use this instead of OnEnabled, that is because the OnEnable method is stolen by the NetworkedBehaviour class
19-
// Usage of OnEnable will throw a error pointing you to this method and WILL break the behaviour
20-
}
21-
22-
public override void OnDisabled()
23-
{
24-
// Use this instead of OnDisable, that is because the OnDisable method is stolen by the NetworkedBehaviour class
25-
// Usage of OnDisable will throw a error pointing you to this method and WILL break the behaviour
26-
}
27-
28-
public override void OnDestroyed()
29-
{
30-
// Use this instead of OnDestroy, that is because the OnDestroy method is stolen by the NetworkedBehaviour class
31-
// Usage of OnDestroy will throw a error pointing you to this method and WILL break the behaviour
32-
}
3315
}
3416
}

0 commit comments

Comments
 (0)