예제 #1
0
    void Awake()
    {
        if (singleton != null)
        {
            Destroy(this);
            enabled = false;
            return;
        }

        singleton = this;

        Setup();
    }
예제 #2
0
 void GetAdInfo(AdvertisementID id)
 {
     currentAd   = AdManager_VS.GetAdInfo(id);
     player.clip = currentAd.video;
 }