14 lines
367 B
C#
14 lines
367 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
|
|
class AtomeFactoryTester: MonoBehaviour {
|
|
public TextAsset jsonFile;
|
|
|
|
void Start(){
|
|
AtomeFactory factory = AtomeFactory.getInstrance(this.jsonFile);
|
|
AtomeInformation mol = factory.createAtome("H");
|
|
Debug.Log("sjkfos " + mol.representation.color);
|
|
}
|
|
} |