public override void Initialize(WaveEngine.Framework.Services.AssetsContainer assets) { base.Initialize(assets); if (this.Texture == null && !string.IsNullOrEmpty(this.TexturePath)) { this.RefreshTexture(this.TexturePath, ref this.Texture); } if (this.NoiseTexture == null && !string.IsNullOrEmpty(this.NoiseTexturePath)) { this.RefreshTexture(this.NoiseTexturePath, ref this.NoiseTexture); } if (this.AppearingTexture == null && !string.IsNullOrEmpty(this.AppearingTexturePath)) { this.RefreshTexture(this.AppearingTexturePath, ref this.AppearingTexture); } if (this.ColorTexture == null && !string.IsNullOrEmpty(this.ColorTexturePath)) { this.RefreshTexture(this.ColorTexturePath, ref this.ColorTexture); } }
/// <summary> /// Initializes the specified assets. /// </summary> /// <param name="assets">The assets.</param> public override void Initialize(WaveEngine.Framework.Services.AssetsContainer assets) { base.Initialize(assets); }