赞
踩
IEnumerator HitFlash()
{
myRenderer.material.SetColor("_EmissionColor", new Color(90f, 0f, 0f));
yield return new WaitForSeconds(0.1f);
myRenderer.material.SetColor("_EmissionColor", new Color(0f, 0f, 0f));
}
shader standard 来的,记得勾上Emission
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。