public override ExtendedEventArgs process()
    {
        ResponseUpdateEnvironmentScoreEventArgs args = new ResponseUpdateEnvironmentScoreEventArgs();
        args.env_id = env_id;
        args.score = score;

        return args;
    }
    public void ResponseUpdateEnvironmentScore(ExtendedEventArgs eventArgs)
    {
        ResponseUpdateEnvironmentScoreEventArgs args = eventArgs as ResponseUpdateEnvironmentScoreEventArgs;

        SetScore(args.score);
        Debug.Log("args.score: " + args.score);
        Tutorial.score = args.score;
    }
    public override ExtendedEventArgs process()
    {
        ResponseUpdateEnvironmentScoreEventArgs args = new ResponseUpdateEnvironmentScoreEventArgs();

        args.env_id = env_id;
        args.score  = score;

        return(args);
    }
示例#4
0
    public void ResponseUpdateEnvironmentScore(ExtendedEventArgs eventArgs)
    {
        ResponseUpdateEnvironmentScoreEventArgs args = eventArgs as ResponseUpdateEnvironmentScoreEventArgs;

        SetScore(args.score);
    }