Untitled


SUBMITTED BY: antoineh1

DATE: May 4, 2016, 6:08 p.m.

FORMAT: Text only

SIZE: 252 Bytes

HITS: 727

  1. if ((_themestars & (1 << (2 + (_level * 3)))) == 0)
  2. {
  3. _themestars |= (1<<(2+(_level*3)));
  4. _themestars |= (1<<(1+(_level*3)));
  5. _themestars |= (1<<(0+(_level*3)));
  6. PlayerPrefs.SetInt(_theme,_themestars);
  7. }

comments powered by Disqus