top of page

TOSHICHAN
Unityでスクリプト&簡単な実装サイト
指定した倍数なら
int i = 3;
//もし3の倍数なら
if( (i % 3) == 0 ){
Debug.Log ("ok");
}
bottom of page
int i = 3;
//もし3の倍数なら
if( (i % 3) == 0 ){
Debug.Log ("ok");
}