|
@@ -100,8 +100,12 @@ public class ShowViewMgr : UnitySingleton<ShowViewMgr>
|
|
|
|
|
|
if (CommonMethod.roomConfig.Is_created == "0")
|
|
|
{
|
|
|
- GameObject.Find("CreateSenceBtn").GetComponent<Button>().enabled = false;
|
|
|
Debug.LogError("非房主进入房间");
|
|
|
+ if (CommonMethod.roomConfig.Room_type == "1")
|
|
|
+ {
|
|
|
+ Debug.Log("公开浏览");
|
|
|
+ GameObject.Find("CreateSenceBtn").GetComponent<Button>().enabled = false;
|
|
|
+ }
|
|
|
}
|
|
|
else
|
|
|
Debug.LogError("房主进入房间");
|