void Awake() { flag = 0; bonus = 1; m_score = 0; timeSpan = 0.0f; checkTime = 5.0f; instance = this; }
// 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; }
// Use this for initialization void Start() { instance = this; score.text = "Score : " + points; }