f8590432ba
Created assemblies for the new design code. Relocated legacy scripts into a legacy folder and made a "new_design" folder for new design.
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;
|
|
}
|
|
}
|