문서 (4)
-
- C# IP, Port 연결 체크
- # 체크 메소드 private static bool ConnectTest(string ip, int port) { bool result = false; Socket socket = null; try { socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp...
-
- C# 시스템 시간 동기화 - time.window.com
- # 취득 메소드 /// <summary> /// Gets the current DateTime from time-a.nist.gov. /// </summary> /// <returns>A DateTime containing the current time.</returns> public static DateTime GetNetworkTime() { r...
-
- [UnityEngine] 2D 캐릭터 Sprite의 움직임 효과 구성.
- C# - 2D캐릭터 Sprite의 움직임효과 구성하기 using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { Rigidbody2D rbody; Animator anim;...
-
- [UnityEngine] C# Code List [1]
- Code List 1) 게임종료 코드 public void GameExit() { //함수의 명칭은 적절하게 설정하면 된다. UnityEditor.EditorApplication.isPlaying = false; //유니티 에터상에서 게임의 실행을 중단하는 옵션이라 추측한다...