working on actors
This commit is contained in:
19
Assets/jelycho/Code/Items/ItemActor.cs
Normal file
19
Assets/jelycho/Code/Items/ItemActor.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using RebootKit.Engine.Simulation;
|
||||
using Unity.Netcode;
|
||||
|
||||
namespace RebootReality.jelycho.Items {
|
||||
public class ItemActor : Actor {
|
||||
class ItemActorData : IActorData {
|
||||
public string ItemID;
|
||||
|
||||
public void Serialize(FastBufferWriter writer) {
|
||||
}
|
||||
public void Deserialize(FastBufferReader reader) {
|
||||
}
|
||||
}
|
||||
|
||||
protected override IActorData CreateActorData() {
|
||||
return new ItemActorData();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user