(Unity)一定の時間感覚でオブジェクトのオン・オフを切り替える

(サンプルコード)

using UnityEngine;

public class Fire : MonoBehaviour
{
    public GameObject firePoint;
    private int count;
    private int num;

    void Start()
    {
        firePoint.SetActive(false);
        num = -1;
    }

    void Update()
    {
        count += 1;

        if (count % 300 == 0)
        {
            num *= -1;

            if(num == 1)
            {
                firePoint.SetActive(true);
            }
            else
            {
                firePoint.SetActive(false);
            }
        }
    }
}