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); } }
public override void effect() { SkinsRepository.addSkin(new Skin(achieved, MaterialsRepository.Get("orange"))); }
public override void effect() { SkinsRepository.addSkin(new Skin(achieved, MaterialsRepository.Get("eight_ball"))); }