Пример #1
0
 public void Awake()
 {
     if (instance == null)
     {
         instance     = this;
         achievements = new List <Achievement> ();
         ballMaterial = MaterialsRepository.Get("green");
         SkinsRepository.addSkin(new Skin(SpriteRepository.Get("green"), ballMaterial));
         addAchievements();
         DontDestroyOnLoad(this.gameObject);
     }
 }
Пример #2
0
 public override void effect()
 {
     SkinsRepository.addSkin(new Skin(achieved, MaterialsRepository.Get("orange")));
 }
Пример #3
0
 public override void effect()
 {
     SkinsRepository.addSkin(new Skin(achieved, MaterialsRepository.Get("eight_ball")));
 }