Beispiel #1
0
    public void Clicked()
    {
        Debug.Log(string.Format("Surface is clicked."));

        isClick = true;
        Debug.Log(string.Format("Debug: Clicked."));
        Destroy(GameObject.FindGameObjectWithTag("Mol"));
        Destroy(GameObject.FindGameObjectWithTag("HETATM"));
        MainMol.SpawnMolecule("surface");
    }
Beispiel #2
0
 private void Awake()
 {
     MainMol.SpawnMolecule("surface");
 }