public void Awake() { spawnedHumanoids = new HumanoidControl[2]; //NeuronDevice.onActorAppears += OnActorAppears; //NeuronDevice.Start(address, 7001, 7001); //, Neuron.NeuronConnection.SocketType.TCP); device = new NeuronDevice(); device.Init(address, 7001); }
public override void StartTracker(HumanoidControl _humanoid) { humanoid = _humanoid; if (!enabled) { return; } device = new NeuronDevice(); device.Init(address, port); neuronTransform = device.GetTracker(); AddTracker(humanoid, "PerceptionNeuron"); }