UNITY/크레이지아케이드 모작 14

방 만들기 / 채팅 구현

닉네임을 설정한 후 로비에 입장한다.public override void OnJoinedLobby()//로비에 접속하면??{ PhotonNetwork.LocalPlayer.NickName = NickNameInput.text;//포톤 로컬 플레이어 닉네임을 설정 NickName.text = PhotonNetwork.LocalPlayer.NickName;//닉네임 text를 로컬 플레이어 닉네임으로 설정 print(PhotonNetwork.LocalPlayer.NickName); LoginPanel.SetActive(false); StartPanel.SetActive(true); myList.Clear();} OnJoinedLobby 함수는 로비에 접속할 때 실행된다. 이 ..

크아 모작 기본적인 버튼 구현

방만들기 버튼뒤로가기 버튼   종료하기 버튼 오늘은 간단한 버튼만 구현하였다. using UnityEngine;public class GameManager : MonoBehaviour{ public GameObject LoginPanel; public GameObject StartPanel; public GameObject MakeRoomPanel; public GameObject RoomPanel; public GameObject ExitPanel; public void Login() { LoginPanel.SetActive(false); StartPanel.SetActive(true); } public void MakeRoom()..

크아 모작 프로젝트 시작

크레이지 아케이드 모작 프로젝트를 시작했다. 일단 기초적인 버튼 작업이랑 리소스부터 구해놨다. 처음에는  이렇게 넥슨 표시가 뜨게 만들었다. using System.Collections;using UnityEngine;using UnityEngine.UI;public class StartScript : MonoBehaviour{ public Image displayImage; public string imageFolderPath = "Nexon"; public Sprite[] images; public float interval = 0.2f; public GameObject startpanel; private int currentIndex = 0; void Sta..