void Awake() { if (singleton != null) { Destroy(this); enabled = false; return; } singleton = this; Setup(); }
void GetAdInfo(AdvertisementID id) { currentAd = AdManager_VS.GetAdInfo(id); player.clip = currentAd.video; }