Skip to content

Instantly share code, notes, and snippets.

Avatar

Kostya Stankevych zedarus

  • Bellevue, WA
View GitHub Profile
@zedarus
zedarus / SpritesManager
Created Feb 17, 2014
Simple script to switch between Unity sprites for different screen resolutions.
View SpritesManager
using UnityEngine;
using Zedarus;
using System.Collections;
namespace Zedarus.Kickstart
{
public class SpritesManager : MonoBehaviourSingleton<SpritesManager>
{
#region Parameters
public DensityFolder spritesFolder;
View Chartboost initialisation
private const string coinsViewName = "buy-coins";
private const string ingameViewName = "ingame-help";
public void Init()
{
if (!_initializationInProgress && !IsInitialized())
{
CreateEventListeners();
_views = new List<string>() { coinsViewName, ingameViewName };
You can’t perform that action at this time.