18 lines
254 B
C#
18 lines
254 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class FireDestroy : MonoBehaviour
|
||
|
{
|
||
|
public GameObject Fire;
|
||
|
void Start()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public void ToDestroy()
|
||
|
{
|
||
|
Destroy(Fire);
|
||
|
}
|
||
|
}
|