Exemplo n.º 1
0
    public void OnCLick()
    {
        Storage storage = GameObject.FindObjectOfType <Storage>();

        if (storage != null)
        {
            storage.selectedCharIndex = x;
            CharSelect charSelect = GameObject.FindObjectOfType <CharSelect>();
            charSelect.OnClick_ToCharPane();
        }
    }