예제 #1
0
        public static void OnNameplateRemoved(Nameplate nameplate, ExEntityLink link)
        {
            NameplateHook hook = link.GetComponent <NameplateHook>();

            if (hook != null)
            {
                NameplateHook.Destroy(hook);
            }
        }
예제 #2
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);
            }
        }
예제 #3
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);
            }
        }