일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 누적합
- C#강의
- JPA
- c#
- 파이썬
- 합 구하기
- 프로그래머스
- 브루투포스
- LCM
- 연관관계
- pypy3
- 인프런
- spring
- appendleft
- BFS
- popleft
- 소수찾기
- 우선순위큐
- 백준
- python3
- 1일1솔
- Java
- DP
- 완전탐색
- mvc
- unity
- deque
- 그리디 알고리즘
- Python
- 소수판별
Archives
- Today
- Total
목록함수 (1)
jae_coding
[유니티로 배우는 C#] 함수
함수의 기능 예제 함수 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Unity_lecture : MonoBehaviour { int intValue; float floatValue = 10.1f; void FloatToInt(){ intValue = (int)floatValue; } void Start() { FloatToInt(); print(intValue); } // Update is called once per frame void Update() { } } 예제의 코드에서는 함수가 1번밖에 사용되어지지 않았지만, 함수가 여러변 그리고 함수의 내용이 길게 된다면 반복되는 작업을 간..
C#
2022. 7. 19. 09:22