2021-01-29 15:29:50 +00:00

13 lines
287 B
C#

using UnityEngine;
namespace QSB.WorldSync
{
public abstract class WorldObject<T> : IWorldObject
where T : MonoBehaviour
{
public int ObjectId { get; protected set; }
public T AttachedObject { get; protected set; }
public abstract void Init(T attachedObject, int id);
}
}