1
This commit is contained in:
14
Unity/Scripts/NetworkItem/NetworkItem.cs
Normal file
14
Unity/Scripts/NetworkItem/NetworkItem.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Unity.Netcode;
|
||||
namespace BITKit.Item
|
||||
{
|
||||
public class NetworkItem : NetworkBehaviour, IAction
|
||||
{
|
||||
public void Excute()
|
||||
{
|
||||
NetworkObject.Despawn();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user