示例#1
0
    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;
    }
示例#2
0
 void updateQuantumSystem()
 {
     quantumSystem  = QSystemController.currentQuantumSystem;
     numberOfStates = quantumSystem.numberOfStates;
 }