Пример #1
0
 // 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);
 }
Пример #2
0
 // Use this for initialization
 protected virtual void Start()
 {
     stageManeger = GameObject.Find("StageManeger").GetComponent <StageManeger>();
 }