Created
December 3, 2014 00:27
-
-
Save EsProgram/07abae93b3d22245169d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using UnityEngine; | |
[RequireComponent(typeof(MoveBall))] | |
[RequireComponent(typeof(DestroyOnOutOfCamera))] | |
[RequireComponent(typeof(Collider2D))] | |
public class Ball : MonoBehaviour | |
{ | |
private void Start() | |
{ | |
Destroy(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment