製作遊戲時會使用相當多的Sprite來構成畫面與UI,當然這也相應的帶來性能上的消耗。 但大學時期的我還不太有這些概念 ...
// Legacy properties. They're here so that materials using this shader can gracefully fallback to the legacy sprite shader. #pragma multi_compile USE_SHAPE_LIGHT_TYPE_0 __ #pragma multi_compile ...