Esempio n. 1
0
    public void AddCylinderToScene()
    {
        PlaceableObject newCyl = Instantiate(placeableCylinder).GetComponent <PlaceableObject>();

        newCyl.PostBuild();
        newCyl.objectID = totalObjects;
        totalObjects++;
        AddObjectToMouse(newCyl);
    }