# Reflection Probe Default Reflection Texture

[Rendering](../index.md) / [Reflection Probe](index.md) / **Reflection Probe Default Reflection Texture**

## Description

Executes whenever the static Default Reflection Texture event of Reflection Probe class is invoked

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.Rendering;

namespace VisualScript.Runtime
{
    [Title("Reflection Probe Default Reflection Texture")]
    [Category("Rendering/Reflection Probe/Default Reflection Texture")]
    [Description("Executes whenever the static Default Reflection Texture event of Reflection Probe class is invoked")]
    
    [Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]
    
    [Serializable]
    public class GenTriggerReflectionProbe_DefaultReflectionTexture : Trigger
    {
        
        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Reflection Probe");
            string member = TextUtils.ThemeAsKeyword("Default Reflection Texture");
            return $"{className} {member}";
        }
        
        public override void OnDisable()
        {
            base.OnDisable();
            ReflectionProbe.defaultReflectionTexture -= this.Run;
        }
        
        public override void OnEnable()
        {
            base.OnEnable();
            ReflectionProbe.defaultReflectionTexture += this.Run;
        }
        
        private void Run(Texture value1)
        {
            using Args args = Args.Get(
                this.Component,
                this.Component
            );
            
            this.Run(args);
        }
    }
}


```

