using System.Collections; using System.Collections.Generic; using UnityEngine; class MoleculeFactoryTester: MonoBehaviour { public TextAsset jsonFile; void Start(){ MoleculeFactory factory = MoleculeFactory.getInstrance(this.jsonFile); GameObject mol = factory.createMolecule("O2"); // mol.transform.position = new Vector3(10,0,0); } }