internal void OnPositionChanged(Portfolio portfolio, Position position, bool queued) { var e = new OnPositionChanged(portfolio, position); if (queued) this.queue.Enqueue(e); else OnEvent(e); }
protected override void Awake() { base.Awake(); OnPositionChanged.AddListener(OnPositionChangedCallbck); }