public void AddTreePrototype(GameObject prefab) { MyTreePrototype newTree = new MyTreePrototype(prefab); treePrototypes.Add(newTree); }