void Start() { _ai = new NeuronNetwork(); NeuronLoader nl = gameObject.GetComponent <NeuronLoader>(); if (nl != null) { nl.Init(); } for (int i = 0; i < WarmUpIterations; i++) { _ai.Step(1f); if (_debug) { DebugPrint(i); } } }
public void Calculate(float scale = 1f) { _ai.Step(scale); }