public static void Init(Item item)
        {
            window = (ViewItemWindow)GetWindow(typeof(ViewItemWindow));
            window.titleContent.text = item.Name;
            window.position          = windowRect;
            window.Show();

            ViewItemWindow.item = item;
        }
 void ViewItem(Item item)
 {
     ViewItemWindow.Init(item);
 }