コード例 #1
0
    private void InteractionManager_InteractionSourceLost(InteractionSourceLostEventArgs obj)
    {
        switch (state)
        {
        case 1:
            state = -1;
            bannerManager.setInBanner(false);
            break;

        case -1:
            state = -1;
            bannerManager.setInBanner(false);
            break;

        default:
            state = 0;
            bannerManager.setInBanner(false);
            break;
        }
    }
コード例 #2
0
 private void Awake()
 {
     bannerManager = BannerManager.Instance;
     bannerManager.setInBanner(false);
 }