Commit 429677dd authored by wanqing's avatar wanqing

修改闪烁时间

parent 5db22045
...@@ -23,7 +23,7 @@ public class MaterialChange : MonoBehaviour ...@@ -23,7 +23,7 @@ public class MaterialChange : MonoBehaviour
public void StartMatChange() public void StartMatChange()
{ {
CancelInvokeChange(); CancelInvokeChange();
InvokeRepeating("InvokeChange", 0, 0.5f); InvokeRepeating("InvokeChange", 0, 0.25f);
} }
//重置材质 //重置材质
public void ResetMat() public void ResetMat()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment