private void Assets_AssetAdded(object sender, AssetEventArgs e) { if (e.Asset.Type == _type) RefreshTiles(); }
/// <summary> /// Raises the <see cref="E:AssetRemoved" /> event. /// </summary> /// <param name="e">The <see cref="ParkitectNexus.Data.Assets.AssetEventArgs" /> instance containing the event data.</param> protected virtual void OnAssetRemoved(AssetEventArgs e) { AssetRemoved?.Invoke(this, e); }
/// <summary> /// Raises the <see cref="E:AssetRemoved" /> event. /// </summary> /// <param name="e">The <see cref="ParkitectNexus.Data.Assets.AssetEventArgs" /> instance containing the event data.</param> protected virtual void OnAssetRemoved(AssetEventArgs e) { AssetRemoved?.Invoke(this, e); }