top of page

指定した倍数なら

        int i = 3;

        //もし3の倍数なら
        if( (i % 3) == 0 ){
            Debug.Log ("ok");
        }

 

bottom of page