mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Syntax
This commit is contained in:
parent
3cf87c8238
commit
db9244a977
@ -753,28 +753,11 @@ public virtual void OnClientSceneChanged(NetworkConnection conn)
|
||||
// their functionality, users would need override all the versions. Instead these callbacks are invoked
|
||||
// from all versions, so users only need to implement this one case.
|
||||
|
||||
public virtual void OnStartHost()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnStartServer()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnStartClient(NetworkClient client)
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnStopServer()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnStopClient()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnStopHost()
|
||||
{
|
||||
}
|
||||
public virtual void OnStartHost() {}
|
||||
public virtual void OnStartServer() {}
|
||||
public virtual void OnStartClient(NetworkClient client) {}
|
||||
public virtual void OnStopServer() {}
|
||||
public virtual void OnStopClient() {}
|
||||
public virtual void OnStopHost() {}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user