12 lines
282 B
C#
12 lines
282 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class Skywalker_ExplosiveWall : MonoBehaviour
|
||
|
|
{
|
||
|
|
public GameObject Skywalker_ExplosionEffect;
|
||
|
|
|
||
|
|
public void Explode()
|
||
|
|
{
|
||
|
|
Instantiate(Skywalker_ExplosionEffect, transform.position, Quaternion.identity);
|
||
|
|
Destroy(gameObject);
|
||
|
|
}
|
||
|
|
}
|