Example #1
0
    /*
     * void OnGUI() {
     *      gameObject.SetActive(true);
     * }
     */

    public void onClickCancel()
    {
        ClientScript cs = Camera.main.GetComponent <ClientScript> ();

        Debug.Assert(cs != null);
        cs.sendCancel();
        Application.LoadLevel("title");
    }