Skip to content

Commit

Permalink
fix: Fixed MLAPI Example callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoTenPvP committed Apr 17, 2019
1 parent 7da1658 commit 244c63e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions MLAPI-Examples/NetworkedBehaviourCallbacks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,5 @@ public override void NetworkStart(Stream payload)
// The NetWorkStart can be used with or without the "Stream payload" parameter
// If it's included it will contain the payload included in the Spawn method if applicable.
}

public override void OnEnabled()
{
// Use this instead of OnEnabled, that is because the OnEnable method is stolen by the NetworkedBehaviour class
// Usage of OnEnable will throw a error pointing you to this method and WILL break the behaviour
}

public override void OnDisabled()
{
// Use this instead of OnDisable, that is because the OnDisable method is stolen by the NetworkedBehaviour class
// Usage of OnDisable will throw a error pointing you to this method and WILL break the behaviour
}

public override void OnDestroyed()
{
// Use this instead of OnDestroy, that is because the OnDestroy method is stolen by the NetworkedBehaviour class
// Usage of OnDestroy will throw a error pointing you to this method and WILL break the behaviour
}
}
}

0 comments on commit 244c63e

Please sign in to comment.