Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
/// <summary>
/// Create a new scene, drag this script to any game object, then Play.
/// </summary>
public class ItemHolder : MonoBehaviour
{
#region Private members
/// <summary>
using UnityEngine;
using System.Collections;
using System;
public class SSSendScore : MonoBehaviour
{
[SerializeField]
float m_WaitTime = 10;
protected long m_CurrentScore;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class SSCacheManager : MonoBehaviour
{
Dictionary<string, List<GameObject>> m_Cache = new Dictionary<string, List<GameObject>>();
Dictionary<string, List<GameObject>> m_Using = new Dictionary<string, List<GameObject>>();
private static SSCacheManager m_Instance;
@AnhPham
AnhPham / gist:4600709
Last active December 11, 2015 12:28
Pause Coroutine
private bool isPause;
public Coroutine Sync()
{
return StartCoroutine(PauseRoutine());
}
public IEnumerator PauseRoutine()
{
while (isPause)