webik150

simpledestroy.cs

Jan 17th, 2016
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.15 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class SimpleDestroy : MonoBehaviour {
  5.  
  6.     public void Destroy(){
  7.         Destroy (gameObject);
  8.     }
  9. }
Add Comment
Please, Sign In to add comment