public NHidden createHide(string tag, ZV1.Action.Kind solve) { GameObject neuron = Instantiate(prefab_neuron, hidden); neuron.transform.position = hidden.position; return(new NHidden(neuron, tag, solve)); }
public Output findOutByKind(ZV1.Action.Kind kind) { if (nor_out == null) { return(null); } if (nor_out.Length == 0) { return(null); } foreach (Output ou in nor_out) { if (ou.kind == kind) { return(ou); } } return(null); }
private Output generateOut(ZV1.Action.Kind kind) { GameObject neuron = Instantiate(prefab_neuron, outputs); return(new Output(neuron, kind)); }