C# Class BeardedManStudios.Network.Unity.NetWorkerKiller

This class is responsible for doing any late cleanup of threads and networked objects
Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: drakelinglabs/unityarmada Class Usage Examples

Public Methods

Method Description
AddNetWorker ( NetWorker netWorker ) : void

Add a NetWorker to this list

Create ( ) : void

This will create the Networker Killer if it hasn't been created already

Private Methods

Method Description
OnApplicationQuit ( ) : void

Clean all the sockets and connections

Method Details

AddNetWorker() public static method

Add a NetWorker to this list
public static AddNetWorker ( NetWorker netWorker ) : void
netWorker NetWorker
return void

Create() public static method

This will create the Networker Killer if it hasn't been created already
public static Create ( ) : void
return void