Click or drag to resize

DeleteObject_Example Class

Example of how to delete an object
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SimpleDemosDeleteObject_Example

Namespace:  SimpleDemos
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class DeleteObject_Example : MonoBehaviour

The DeleteObject_Example type exposes the following members.

Constructors
  NameDescription
Public methodDeleteObject_Example
Initializes a new instance of the DeleteObject_Example class
Top
Methods
  NameDescription
Private methodUpdate
Game Logic
Top
Fields
  NameDescription
Public fieldm_Delete
Bool triggering the object's deletion
Public fieldm_MyObjectToDelete
Provides an easy way to access the object we want to delete.
Public fieldm_Reset
Resets the scene so the user can delete the object again
Top
See Also