protected override void OnInitialize() { base.OnInitialize(); inputPort = this.UpdatePortValue(nameof(input), PortIO.Input); outputPort = this.UpdatePortValue(nameof(output), PortIO.Output); inputPort.Broadcast(outputPort).AddTo(LifeTime); }
protected override UniTask OnExecute() { PrintLog(GetMessage(), mode); logPort.Broadcast(this). AddTo(LifeTime); return(UniTask.CompletedTask); }
protected override UniTask OnExecute() { PrintLog(GetMessage(), mode); logPort.Broadcast(this). AddTo(LifeTime); logPort.Receive <IContext>() .Select(x => x.Broadcast(this)) .Subscribe() .AddTo(LifeTime); return(UniTask.CompletedTask); }
public void Execute(ILifeTime lifeTime) { port.Broadcast(this). AddTo(lifeTime); }
protected override void OnExecute() { PrintLog(GetMessage(), mode); logPort.Broadcast(this). AddTo(LifeTime); }
public UniTask Execute(ILifeTime lifeTime) { port.Broadcast(this).AddTo(lifeTime); return(UniTask.CompletedTask); }