//888888888888888888888888888888888888888888888888 //------------------- USED FOR DEBUG public void LocalDebug() { KnetMan kn = GameObject.Find("KnetMan").GetComponent <KnetMan>(); kn.networkAddress = "127.0.0.1"; kn.GetComponent <KcpTransport>().Port = 7777; kn.GetComponent <TelepathyTransport>().port = 7777; kn.StartClient(); }
// Start is called before the first frame update void Start() { H.klog($"Assist Man Starting -- Init assistman instance and register _knet _ins"); _ins = this; _knet = this.gameObject.GetComponent <KnetMan>(); }
/// <summary> /// Runs on both Server and Client /// Networking is NOT initialized when this fires /// </summary> public override void Start() { H.klog($"Knet Manager Starting"); base.Start(); _kins = this; }