using System.Collections; using System.Collections.Generic; using UnityEngine; public class Plate : HitCheck { public void Initialized(object data, int layer, int cntPenetrate, Vector3 posEnd) { Initialized(data, layer, cntPenetrate, OnUseMax); } void OnUseMax() { gameObject.SetActive(false); } }