예제 #1
0
 void Start()
 {
     rb         = GetComponent <Rigidbody>();
     mainCamera = FindObjectOfType <Camera>();
     max_HP     = 100;
     max_Shield = 100;
     cur_HP     = max_HP;
     cur_Shield = max_Shield;
     gunBoolean = FindObjectOfType <GunBool>();
     m_Pistole.SetActive(false);
     Score = 0;
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     m_pistolUI.SetActive(false);
     m_galilUI.SetActive(false);
     gunbool = FindObjectOfType <GunBool>();
 }
예제 #3
0
 void Start()
 {
     gunbool = FindObjectOfType <GunBool>();
 }