using System; namespace ET { [ActorMessageHandler] public class ObjectRemoveRequestHandler: AMActorRpcHandler { protected override async ETTask Run(Scene scene, ObjectRemoveRequest request, ObjectRemoveResponse response, Action reply) { await scene.GetComponent().Remove(request.Key); reply(); } } }