本文整理汇总了C#中RoomData.getName方法的典型用法代码示例。如果您正苦于以下问题:C# RoomData.getName方法的具体用法?C# RoomData.getName怎么用?C# RoomData.getName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RoomData
的用法示例。
在下文中一共展示了RoomData.getName方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnUserLeftRoom
//both player get the notification
public void OnUserLeftRoom(RoomData eventObj, string nameOfUser)
{
Debug.Log("OnUserLeftRoom : " + eventObj.getName());
}
示例2: OnRoomCreated
public void OnRoomCreated(RoomData eventObj)
{
Debug.Log("OnRoomCreated : " + eventObj.getName());
}
示例3: onUserLeftRoom
public void onUserLeftRoom(RoomData eventObj, string username)
{
notifications+="onUserLeftRoom username" + username+" roomName "+eventObj.getName()+"\n";
Debug.Log ("onUserLeftRoom : " + username);
}
示例4: OnUserLeftRoom
public void OnUserLeftRoom(RoomData eventObj, string _UserName)
{
Debug.Log("OnUserLeftRoom : " + eventObj.getName());
Cube_Logic_Multiplayer.Instance.GameObj["CanvasWinLose"].SetActive(true);
Cube_Logic_Multiplayer.Instance.GameObj["DissconectText"].SetActive(true);
Cube_Logic_Multiplayer.Instance.GameObj["CanvasWinLosePanel"].SetActive(false);
Cube_Logic_Multiplayer.Instance.GameObj["RematchButton"].SetActive(false);
Cube_Logic_Multiplayer.Instance.GameObj["CanvasPower"].SetActive(false);
Cube_Logic_Multiplayer.Instance.GameObj["CanvasDistance"].SetActive(false);
Cube_Logic_Multiplayer.Instance.GameObj["CanvasPlayerOne"].SetActive(false);
Cube_Logic_Multiplayer.Instance.GameObj["CanvasPlayerTwo"].SetActive(false);
}
示例5: onRoomCreated
//NotifyListener
public void onRoomCreated(RoomData eventObj)
{
notifications+="onRoomCreated "+eventObj.getName()+" destroyed with id "+eventObj.getId()+"\n";
Debug.Log ("onRoomCreated");
}