public void Initalize(int index) { quantumSystemIndex = index; QuantumSystem quantumSystem = QSystemController.instance.quantumSystems[quantumSystemIndex]; button.onClick.AddListener(OnClick); potentialPreview.texture = quantumSystem.potentialTextureEXR; potentialLabel.text = quantumSystem.potentialLabel; }
void updateQuantumSystem() { quantumSystem = QSystemController.currentQuantumSystem; numberOfStates = quantumSystem.numberOfStates; }