Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 회귀
- Nonlinear Model
- local minimum
- Nonlinear Function
- 회귀학습
- virtual function
- 선형모델
- c++
- 맵리듀스
- overriding
- inheritance
- member function
- 머신러닝
- kubernetes
- Machine learning
- 딥러닝
- struct
- Class
- MapReduce
- least square
- Overloading
- 비선형 함수
- call by value
- Linear Regression
- 비선형모델
- regression
- 지도학습
- 최소제곱법
- Effective C++
- call by reference
Archives
- Today
- Total
J's Study log
[Unity] Pubilc 본문
To use script A's function in script B. You have to declare function as public function like this.
And now you can use RestartGame() in other scripts. Funny thing to know that when you declare a variable public you can see it in Inspector.
You can see Coin Count and also you can change the value in real time. Just like I said, because you can change the value in real time, you should reset value in Start() function.
'Computer Language > Unity' 카테고리의 다른 글
[Unity] Time.deltaTime (0) | 2019.03.06 |
---|---|
[Unity] UI (0) | 2019.03.06 |
[Unity] Tag / Applied Learning(Eating Coins, Game Manager) (0) | 2019.03.04 |
[Unity] Trigger and Collision (0) | 2019.03.02 |
[Unity] Local Transform (0) | 2019.02.27 |
Comments