[Unity Tips] 讓物件一閃一閃 / Blinking/Flashing/Flickering Effects Script

在資源吃緊時,連用Animator/Animation都要省,所以改用Script來控制

sometimes we need to consider performance, especially when available resources are tight. In this case, we are using script to control it:



不多說,程式碼如下:

Here are the code I am using:

[codebox 1]

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *