public void OnPartActionUICreate(Part p)
        {
            UIPartManager manager;

            if (!cache.ContainsKey(p))
            {
                Debug.Log("The cache doesn't contain the part !");

                // Build the UI for the part.
                manager = new UIPartManager(p);
                cache.Add(p, manager);
            }
            else
                manager = cache[p];

            if (Active && !manager.IsActive)
                manager.Active(true);
        }
        public void OnPartActionUICreate(Part p)
        {
            UIPartManager manager;

            if (!cache.ContainsKey(p))
            {
                Debug.Log("The cache doesn't contain the part !");

                // Build the UI for the part.
                manager = new UIPartManager(p);
                cache.Add(p, manager);
            }
            else
            {
                manager = cache[p];
            }

            if (Active && !manager.IsActive)
            {
                manager.Active(true);
            }
        }