achievement_increment(ach_name, value)
参数 描述 name The name of the achievement. 值 The value to be sent.
N/A(无返回值)
Google Play permit Android games to have achievements with no completion value and you can use this function to increment those achievement by a given amount.
achievement_increment("ach_TotalScore", score);
The above code adds the current player score to the achievement "ach_TotalScore".