This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
station_obscurum_unity/Assets/Scripts/Item/CarryableItem.cs

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;
}
}