// Start is called before the first frame update void Start() { max_counter = (int)(T / period); Weistrasse ws = new Weistrasse(); y = ws.CreateSignal(max_counter, 0.05); }
// Start is called before the first frame update void Start() { max_counter = (int)(T / period); Weistrasse ws = new Weistrasse(); y = ws.CreateSignal(max_counter, 0.05); v.profile.TryGet(out vg); // You can leave this variable out of your function, so you can reuse it throughout your class. }