>>328
よく分からんが
パブリック変数定義してinspectorで数を指定すればいいんじゃない?


public int gun_count

if (Trigger == 1)
{

発射処理;
i++

if (i >= gun_count) i = 0;

}