How to simply fade a game object that has a Standard shader applied?
This is my code. If I switch the shader to Sprites.default it works.
public void foo(float val)
{
_isFade=true;
float time=2.0f;
float alphaVal=0.0f;
LeanTween.alpha(gameObject, alphaVal, time);
Debug.Log("YES calling fade in foo !!!! and gameObject = "+gameObject);
}