19 lines
285 B
C#
19 lines
285 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class FireDestroy : MonoBehaviour
|
|
{
|
|
public GameObject Fire;
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
public void ToDestroy()
|
|
{
|
|
Debug.Log("Ïú»Ù»ðÑæ");
|
|
Destroy(Fire);
|
|
}
|
|
}
|