private GameObject GetMoleculeStructure(int core_atom_valence, int core_atom_last_shell_population, int connected_atom_pc) { GameObject prefab; int E = (core_atom_last_shell_population - core_atom_valence) / 2; int X = connected_atom_pc; prefab = playerSettings.GetCovalentModellFromValence(X, E); return(Instantiate(prefab)); }