private bool IsMaterialUsingFixedFunction()
        {
            Material sharedMaterial = (this.target as SpriteRenderer).sharedMaterial;

            return(!(sharedMaterial == null) && ShaderUtil.DoesShaderContainFixedFunctionPasses(sharedMaterial.shader));
        }