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; | |
public class ReadOnlyAttribute : PropertyAttribute | |
{ | |
} |
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
public interface IPooling | |
{ | |
bool ActiveInPool { get; set; } | |
} |
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
# if UNITY_EDITOR | |
using UnityEngine; | |
using UnityEditor; | |
using Spine.Unity; | |
using System; | |
using System.Collections.Generic; | |
using Newtonsoft.Json.Linq; | |
using System.IO; | |
using Newtonsoft.Json; |
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; | |
namespace Game | |
{ | |
public class MonoBehaviourSingleton<T> : MonoBehaviour where T : Component | |
{ | |
/// <summary> | |
/// The instance of the singleton. | |
/// </summary> | |
protected static T _instance = null; |
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.Generic; | |
public static class HelperWaitForSeconds | |
{ | |
static readonly Dictionary<float, WaitForSeconds> WaitForSeconds = new Dictionary<float, WaitForSeconds>(); | |
/// <summary> | |
/// This method is used to get WaitForSeconds clss with the specified seconds with out creating new WaitForSeconds. | |
/// </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 System; | |
using System.Collections; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
namespace Game.UI | |
{ | |
[RequireComponent(typeof(CanvasGroup))] | |
public abstract class UICanvasGroup : UIBehaviour | |
{ |