Esempio n. 1
0
        public static void OnDisplayRemoved(Ex.Typed display, ExEntityLink link)
        {
            TypedHook hook = link.GetComponent <TypedHook>();

            if (hook != null)
            {
                if (hook.type != null)
                {
                    link.gameObject.name = "" + link.id;
                }
                DisplayHook.Destroy(hook);
            }
        }
Esempio n. 2
0
        public static void OnDisplayRemoved(Ex.Display display, ExEntityLink link)
        {
            DisplayHook hook = link.GetComponent <DisplayHook>();

            if (hook != null)
            {
                if (hook.child != null)
                {
                    GameObject.Destroy(hook.child.gameObject);
                }
                DisplayHook.Destroy(hook);
            }
        }