Example #1
0
        static public ApplicationEX GetInstance()
        {
            if (instance == null)
            {
                instance = new ApplicationEX();
            }

            return(instance);
        }
Example #2
0
        static public void DestroyAdvisory(this GameObject item, bool is_asset = false)
        {
            if (Application.isPlaying)
            {
                item.Destroy();
            }
            else
            {
                item.DeactivateGameObject();

                ApplicationEX.GetInstance().RegisterDeferredProcess(delegate() {
                    item.DestroyImmediate(is_asset);
                });
            }
        }
Example #3
0
 static public void DrawGizmos(Process process)
 {
     ApplicationEX.GetInstance().RegisterDrawGizmos(process);
 }
Example #4
0
 private void Update()
 {
     ApplicationEX.GetInstance().Update();
 }
Example #5
0
 private void Start()
 {
     ApplicationEX.GetInstance().Start();
 }
Example #6
0
 private void OnDrawGizmos()
 {
     ApplicationEX.GetInstance().DrawGizmos();
 }