示例#1
0
 void Start()
 {
     objs = gameObject.GetComponent<RespawnAndDeaths>();
 }
示例#2
0
 // 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>();
 }