예제 #1
0
 // Use this for initialization
 void Start()
 {
     timer = 0;
     tuner = min_tuner_value;
     state = GetComponent <state_script>();
     rb    = GetComponent <Rigidbody>();
     cam   = FindObjectOfType <cam_shake>();
     audio = FindObjectOfType <audio_management>();
 }
예제 #2
0
 private void Awake()
 {
     state    = GetComponent <state_script>();
     audio    = FindObjectOfType <audio_management>();
     collided = false;
 }