initial upload
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityScript.Lang;
|
||||
|
||||
[Serializable]
|
||||
public class checkcustards : MonoBehaviour
|
||||
{
|
||||
public GameObject[] gos;
|
||||
|
||||
public virtual void Start()
|
||||
{
|
||||
gos = GameObject.FindGameObjectsWithTag("Paper");
|
||||
}
|
||||
|
||||
public virtual void Update()
|
||||
{
|
||||
gos = GameObject.FindGameObjectsWithTag("Paper");
|
||||
if (Extensions.get_length((System.Array)gos) == 10)
|
||||
{
|
||||
UnityEngine.Object.DestroyObject(gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void Main()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user