19 lines
429 B
C#
19 lines
429 B
C#
using UnityEngine;
|
|
using FishNet.Connection;
|
|
using FishNet.Object;
|
|
|
|
namespace Item
|
|
{
|
|
[RequireComponent(typeof(Collider))]
|
|
[RequireComponent(typeof(Rigidbody))]
|
|
public abstract class CarryableItem : NetworkBehaviour
|
|
{
|
|
[SerializeField] private string itemName;
|
|
|
|
[SerializeField] private int itemSize = 1;
|
|
|
|
public string ItemName => itemName;
|
|
public int ItemSize => itemSize;
|
|
}
|
|
}
|