mirror of
https://github.com/ConjureETS/PixelSphinx.git
synced 2026-03-24 10:30:59 +00:00
26 lines
467 B
C#
26 lines
467 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class WorldManager : MonoBehaviour {
|
|
|
|
private static WorldManager instance = null;
|
|
private WorldManager(){}
|
|
|
|
// Use this for initialization
|
|
public void Awake () {
|
|
if (!instance)
|
|
{
|
|
instance = new WorldManager();
|
|
}
|
|
}
|
|
|
|
public WorldManager getInstance() {
|
|
return instance;
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update () {
|
|
|
|
}
|
|
}
|