public override ExtendedEventArgs process()
        {
            //Debug.Log ("ResponseRREndGame ExtendedEventArgs");
            ResponseRREndGameEventArgs args = new ResponseRREndGameEventArgs();

            args.win = this.win;
            args.winningTime = this.winningTime;

            return args;
        }
Ejemplo n.º 2
0
        public override ExtendedEventArgs process()
        {
            //Debug.Log ("ResponseRREndGame ExtendedEventArgs");
            ResponseRREndGameEventArgs args = new ResponseRREndGameEventArgs();

            args.win         = this.win;
            args.winningTime = this.winningTime;

            return(args);
        }
Ejemplo n.º 3
0
        public void ResponseRREndGame(ExtendedEventArgs eventArgs)
        {
            //		Debug.Log ("ResponseEndGame Called in Running.cs 1");
            ResponseRREndGameEventArgs args = eventArgs as ResponseRREndGameEventArgs;

            if (args.win == true)
            {
                PlayerPrefs.SetInt("Win", 1);
            }
            else
            {
                PlayerPrefs.SetInt("Win", 0);
            }
            PlayerPrefs.SetString("Winning Time", args.winningTime);

            //		Debug.Log ("ResponseEndGame Called in Running.cs 2");
            Application.LoadLevel("RREndScene");
        }