Unity3D tweaks, test app updates

This commit is contained in:
Joseph Henry
2016-07-18 12:24:24 -07:00
parent b8747670b3
commit 89ab08e3b2
7 changed files with 39 additions and 588 deletions

View File

@@ -208,35 +208,22 @@ public class ZeroTierNetworkInterface {
}
// Initialize the ZeroTier service with a given path
public ZeroTierNetworkInterface(string path, string nwid)
{
public ZeroTierNetworkInterface(string path, string nwid) {
this.path = path;
this.nwid = nwid;
Init();
}
public ZeroTierNetworkInterface (string path)
{
public ZeroTierNetworkInterface (string path) {
this.path = path;
Init();
}
// Initialize the ZeroTier service
public ZeroTierNetworkInterface()
{
public ZeroTierNetworkInterface() {
Init();
}
// Initialize the ZeroTier service
// Use the GlobalConfig to set things like the max packet size
/*
public ZeroTierNetworkInterface(GlobalConfig gConfig)
{
MaxPacketSize = gConfig.MaxPacketSize; // TODO: Do something with this!
Init();
}
*/
#region Network Handling
// Joins a ZeroTier virtual network
public bool JoinNetwork(string nwid)