public override ExtendedEventArgs process() { ResponseCreateEnvEventArgs args = new ResponseCreateEnvEventArgs(); args.env_id = env_id; args.user_id = user_id; args.score = score; return args; }
public override ExtendedEventArgs process() { ResponseCreateEnvEventArgs args = new ResponseCreateEnvEventArgs(); args.env_id = env_id; args.user_id = user_id; args.score = score; return(args); }
public void ResponseCreateEnv(ExtendedEventArgs eventArgs) { ResponseCreateEnvEventArgs args = eventArgs as ResponseCreateEnvEventArgs; GetComponent <EnvironmentScore>().SetScore(args.score); }