Advertisement
Sebsebeleb

Enemy.cs

Jan 21st, 2022 (edited)
678
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using UnityEngine;
  2.  
  3. public class Enemy : MonoBehaviour, ICollision
  4. {
  5.     public void Collided()
  6.     {
  7.         Instantiate(gameObject);
  8.     }
  9. }
  10.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement