// Update is called once per frame void Update() { AssociativeArray <double> input = new AssociativeArray <double>(); var currentTime = Time.time; if (currentTime % updateRate == 0) { var output = brain.Run(input); animManager.SetData(output); } }
// Update is called once per frame void Update() { AssociativeArray <double> input = new AssociativeArray <double>(); var currentTime = Time.time; if (currentTime % updateRate == 0) { var output = brain.Run(input); animManager.SetData(output); } }