unity if number is a multiple of a number code example
Example: unity check if number is multiple of x
if (number % 3 == 0)
{
// The number is a multiple of three
}
if (number % 3 == 0)
{
// The number is a multiple of three
}