コード例 #1
0
ファイル: NetworkManager.cs プロジェクト: L3tum/TwitchShooter
 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>();
 }