void Awake() { instance = this; PhotonNetwork.OnEventCall += this.OnEvent; }
void OnDestroy() { instance = null; PhotonNetwork.OnEventCall -= this.OnEvent; }