Deletion of Objects

Primary ControllerSecondary Controller


The user can delete single objects with the primary controller. The object is selected with a raycast. 

With the secondary controller the user can delete all objects that were spawned. Before all objects are deleted there is a safety dialog. 



delete single objectdelete all objects


Script to Deletion of objects