Exemple #1
0
 void Awake()
 {
     flag      = 0;
     bonus     = 1;
     m_score   = 0;
     timeSpan  = 0.0f;
     checkTime = 5.0f;
     instance  = this;
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     coinmana = GameObject.Find("Coinman").GetComponent <coinmanager>();
     //coin = GameObject.Find("Sphere");
 }
 // Start is called before the first frame update
 void Start()
 {
     coinmanager.instance = this;
 }
Exemple #4
0
 // Use this for initialization
 void Start()
 {
     instance   = this;
     score.text = "Score : " + points;
 }