Robuta

https://docs.unity3d.com/es/2020.2/ScriptReference/Shader.GetPropertyTextureDimension.html Shader-GetPropertyTextureDimension - Unity Scripting API Returns the TextureDimension of a Texture shader property at the specified index. shaderunityscriptingapi