Exemplo n.º 1
0
// Use this for initialization
    void Start()
    {
        _rewardedVideoManager    = RewardedVideoManager.Instance;
        _thisButton              = GetComponent <Button>();
        _thisButton.interactable = false;
        BindAction();
    }
Exemplo n.º 2
0
 private void Awake()
 {
     if (_instance != null && _instance != this)
     {
         Destroy(this.gameObject);
     }
     else
     {
         _instance = this;
     }
 }
Exemplo n.º 3
0
 // Use this for initialization
 new void Start()
 {
     base.Start();
     _rewardedVideoManager = FindObjectOfType <RewardedVideoManager>();
     _rewardedVideoManager.OnVideoCompleted += OnVideoSuccessful;
 }