123456789101112131415161718192021222324252627282930313233343536 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class OnClickLogoCouponeHandler : MonoBehaviour
- {
- public ScreenBase WinCoupone;
- public Texture CouponeLifja;
- public Texture CouponeDurex;
- void OnClick () {
- if (gameObject.name == "LogoLifja")
- {
-
- WinCoupone.GetComponent<CouponeWin>().Init(CouponeLifja);
-
- // KHD.FlurryAnalyticsTest.instance.LifjaCoupone();
- WinCoupone.Show();
- }
- else
- {
- WinCoupone.GetComponent<CouponeWin>().Init(CouponeDurex);
-
- //KHD.FlurryAnalyticsTest.instance.DurexCoupone();
- WinCoupone.Show();
- }
- WinCoupone.Show();
- }
-
- // Update is called once per frame
- void Update () {
-
- }
- }
|