Mister_Nebula b10cf20ee4 fix stuff
2021-02-08 20:04:14 +00:00

14 lines
332 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 string Name => AttachedObject.name;
public abstract void Init(T attachedObject, int id);
}
}