Files
MRCS/Assets/_MrCs/Scripts/Enemys/JoinControl.cs

15 lines
327 B
C#

using System.Collections;
using System.Collections.Generic;
using Mirror;
using UnityEngine;
public class JoinControl : Airdrop
{
public override void OnDeath(object info, Transform _sender)
{
base.OnDeath(info, _sender);
NetworkServer.Destroy(transform.gameObject);
CreatEexplosion();
}
}