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