Demigiant

MaterialPropertyBlock in Sequence

Sep 14th, 2020 (edited)
759
173 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. s.Insert(0,
  2.     DOVirtual.Float(0, 1, .05f, (f)=> {
  3.         // Get the materialPropertyBlock and its color,
  4.         // change the alpha to f and reassign it
  5.     })
  6. ).Insert(.05f,
  7.     DOVirtual.Float(1, 0, .1f, (f)=> {
  8.         // Get the materialPropertyBlock and its color,
  9.         // change the alpha to f and reassign it
  10.     })
  11. );
RAW Paste Data