// Start is called before the first frame update void Start() { AudioSource = this.gameObject.GetComponent <AudioSource>(); collider.enabled = false; _PhotonViewControl = GetComponent <PhotonView>(); GJS = GameObject.Find("GameJudge"); GJ = GJS.GetComponent <GameJudgeScript>(); this.myPhotonView = GetComponent <PhotonView>(); }
// Start is called before the first frame update void Start() { AudioSource = this.gameObject.GetComponent <AudioSource>(); Destroy(this.gameObject, 2); GameObject = GameObject.Find("OnlineScript"); _PhotonViewControl = GetComponent <PhotonView>(); GJS = GameObject.Find("GameJudge"); GJ = GJS.GetComponent <GameJudgeScript>(); }