public void ShowHideSmallSettlement(bool isShow)
        {
            CanvasGroup canvasGroup = this.GameObject.GetComponent <CanvasGroup>();

            canvasGroup.blocksRaycasts = isShow;
            canvasGroup.DOFade(isShow ? 1 : 0, 0.5f);
            UICowCow_GameRoomComponent room = Game.Scene.GetComponent <UIComponent>().Get(UICowCowType.CowCowGameRoom).GetComponent <UICowCow_GameRoomComponent>();

            if (!isShow)
            {
                Actor_GamerReadyHelper.OnReady(room.GamerComponent.LocalSeatID).Coroutine();
            }
        }
Beispiel #2
0
 private void OnReady()
 {
     Actor_GamerReadyHelper.OnReady(GamerComponent.LocalSeatID).Coroutine();
 }