Esempio n. 1
0
    void Start()
    {
        // Fetch reference to the script
        Camera.main.depthTextureMode = DepthTextureMode.Depth;
        _moleculeDisplayScript       = Camera.main.GetComponent <MoleculeDisplayScript>();

        // Add a new molecule in the scene at position 0,0,0
        AddMoleculeInstace("2OAU", new Vector3(0, 0, 0), Quaternion.identity);

        // Add a new molecule in the scene at position 0,0,0
        AddMoleculeInstace("1OKC", new Vector3(-35, 0, 0), Quaternion.identity);

        // Add a new molecule in the scene at position 0,0,0
        AddMoleculeInstace("2FP4", new Vector3(35, 0, 0), Quaternion.identity);
    }