这里是我的分数经理剧本我做:得分乘法器时间
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour {
public Text scoreText;
public float scoreCount; // What the score is when the scene first loads. I set this as zero.
public float pointsPerSecond; // Every second, the points increase by THIS amount. Right now it is 100.
// Update is called once per frame
void Update() {
scoreCount += pointsPerSecond * Time.deltaTime;
scoreText.text = "" + Mathf.Round (scoreCount); // It comes out as a float with like 6 decimals; I round to an nice, clean Integer
}
}
我,我无法弄清楚如何解决的问题是:我如何作出这样的30后乘以两三次比分事半功倍然后将分数乘以1分钟后的三次,然后在1分钟和30秒后乘以四次,然后在2分钟后乘以五次?谢谢:)