// Use this for initialization void Start() { mf = GetComponent <MeshFilter>(); var calc = new HydrogenCalc(4, 2, 2); level = calc.GetLevelSetValue(0.5f); func = calc; mf.mesh = Gen(); }
void RefreshData() { current = calcs[calcIndex]; vrc.SetFieldData(current); if (orbitalText != null && mText != null) { orbitalText.text = current.OrbitalLabel; mText.text = current.MLabel; } }