This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System; | |
public class SSSendScore : MonoBehaviour | |
{ | |
[SerializeField] | |
float m_WaitTime = 10; | |
protected long m_CurrentScore; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private bool isPause; | |
public Coroutine Sync() | |
{ | |
return StartCoroutine(PauseRoutine()); | |
} | |
public IEnumerator PauseRoutine() | |
{ | |
while (isPause) |