Graceful Unity3D C# Singleton Pattern Implement Tookit
Switch branches/tags
Nothing to show
Clone or download
Latest commit b02286e Feb 9, 2018
Permalink
Failed to load latest commit information.
QSingleton update Feb 5, 2018
.gitignore 0.0.1.22 upload to asset store Jul 1, 2017
README.md Update README.md Feb 9, 2018

README.md

Current Repository Is Longer Support It's integrate to QFramework

QSingleton

Graceful Unity3D C# singleton implement toolkit.

It make everything to singleton gracefully!

Available on AssetStore

Feature:

  • C#/MonoBehaviour Class Singleton Implement Tool
  • Get property method to implement singleton

Quick Start:

namespace QFramework.Example
{
	[QMonoSingletonPath("[Audio]/AudioManager")]
	public class AudioManager : ManagerBase,ISingleton
	{
		public static AudioManager Instance
		{
			get { return QMonoSingletonProperty<AudioManager>.Instance; }
		}
		
		public void OnSingletonInit()
		{
			
		}

		public void Dispose()
		{
			QMonoSingletonProperty<AudioManager>.Dispose();
		}


		public void PlaySound(string soundName)
		{
			
		}

		public void StopSound(string soundName)
		{
			
		}
	}
}

You will see result:

Contact:

Doc:

Support Projects: