private void Load(GameViewSize size) { var previous = _asset; var current = GameViewScreenAsset.Load(size.baseText); if (previous == null && current == null) { return; } if (previous != null && previous.Equals(current)) { return; } _asset = current; changed?.Invoke(_asset?.data); }
private void OnResolutionChanged(GameViewSize size) => this.TryUpdateRect();