// Use this for initialization protected virtual void Start() { rb = GetComponent <Rigidbody>(); stageManeger = GameObject.Find("StageManeger").GetComponent <StageManeger>(); player = GameObject.Find("Player"); takuanSoundEffect = GetComponent <AudioSource>(); if (hard >= 1) { moveSpeed += hard * 0.1f; } //Debug.Log(moveSpeed); }
// Use this for initialization protected virtual void Start() { stageManeger = GameObject.Find("StageManeger").GetComponent <StageManeger>(); }