Merlin

Merlin

  • 시작 (24)
    • 개발 (24)
      • C++ (1)
      • C# (2)
      • 유니티 (17)
      • sqlite DB관리 (1)
      • ADB (2)
      • 3D & 쉐이더 (0)
      • PHP (0)
      • MySQL (0)
      • Node.js (0)
      • JAVA Script (0)
      • HTML (0)
      • JQuery (0)
      • CSS (0)
      • Android (0)
      • iOS (0)
      • QT (1)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

Merlin

컨텐츠 검색

태그

최근글

댓글

공지사항

아카이브

개발/C#(2)

  • C# 수학 관련 함수들

    Clamp (min, max) 최대 · 최소 컷 Pow (x, y) x의 y 승 CeilToInt (x) 소수점 반올림 및 정수 화 FloorToInt (x) 소수점 버림 및 정수 화 RoundToInt (x) 소수점 반올림 및 정수 화 Sign (x) 기호 (1 또는 -1 (float)) Lerp (from, to, t) 보간 LerpAngle (from, to, t) 각도 보간 (360도를 고려) InverseLerp (from, to, value) Lerp의 역함수 MoveTowards (current, target, maxDelta) maxDelta 대상 값에 MoveTowardsAngle (current, target, maxDelta) moveTowards 각도 판 Approximately (..

    2019.05.28
  • c# 압축하기, 압축풀기

    ICSharpCode.SharpZipLib이 필요하다. 예제 스크립트) using System.IO; using System.Collections; using ICSharpCode.SharpZipLib.Zip; public class ZipManager { public static float ProgressValue = 0; public static bool retVal = false; /// /// 특정 폴더를 ZIP으로 압축 /// /// 압축 대상 폴더 경로 /// 저장할 ZIP 파일 경로 /// 압축 암호 /// 폴더 삭제 여부 /// 압축 성공 여부 public static bool ZipFiles(string targetFolderPath, string zipFilePath, string pa..

    2019.05.21
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바