top of page

偶数なら

        int i = 19;

        //もしiが偶数なら
        if ( i % 2 == 0 ) {
            Debug.Log( "偶数です");
        }

 

bottom of page