예제 #1
0
 void Start()
 {
     objs = gameObject.GetComponent<RespawnAndDeaths>();
 }
예제 #2
0
파일: Hud.cs 프로젝트: L3tum/TwitchShooter
 // Use this for initialization
 void Start()
 {
     inv = gameObject.GetComponent<playerInventory>();
      	respawns = GameObject.FindGameObjectWithTag("GameManager").GetComponent<RespawnAndDeaths>();
     net = GameObject.FindGameObjectWithTag("GameManager").GetComponent<NetworkManager>();
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     deathManager = GameObject.FindGameObjectWithTag("GameManager").GetComponent<RespawnAndDeaths>();
 }