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; } }
private void Awake() { bannerManager = BannerManager.Instance; bannerManager.setInBanner(false); }