private void OnEnable()
    {
        icc = (InventoryCanvasController)target;

        initialButton    = icc.initialButton;
        initialButtonIdx = icc.initialButtonIdx;
        initialPanelIdx  = icc.initialPanelIdx;
    }
 void Awake()
 {
     if (canvasController == null)
     {
         DontDestroyOnLoad(gameObject);
         canvasController = this;
     }
     else if (canvasController != this)
     {
         Destroy(gameObject);
     }
 }