public void AddCylinderToScene() { PlaceableObject newCyl = Instantiate(placeableCylinder).GetComponent <PlaceableObject>(); newCyl.PostBuild(); newCyl.objectID = totalObjects; totalObjects++; AddObjectToMouse(newCyl); }
public void AddCylinderToScene() { PlaceableObject newCyl = Instantiate(placeableCylinder).GetComponent <PlaceableObject>(); newCyl.PostBuild(); newCyl.objectID = totalObjects; totalObjects++; AddObjectToMouse(newCyl); }