// Use this for initialization
    void Start()
    {
        gazePointer = GetComponent <OSVRGazePointer>();
        foreach (Transform child in transform)
        {
            if (child.name.Equals("Half"))
            {
                psHalf = child.GetComponent <ParticleSystem>();
            }
            if (child.name.Equals("Full"))
            {
                psFull = child.GetComponent <ParticleSystem>();
            }
            if (child.name.Equals("Quad"))
            {
                quadRenderer = child.GetComponent <MeshRenderer>();
            }
        }
        float scale = transform.lossyScale.x;

        psHalf.startSize  *= scale;
        psHalf.startSpeed *= scale;
        psFull.startSize  *= scale;
        psFull.startSpeed *= scale;

        particleStartColor = psFull.startColor;

        if (!particleTrail)
        {
            GameObject.Destroy(psHalf);
            GameObject.Destroy(psFull);
        }
    }
    private void Awake()
    {
        currentScale = 1;
        // Only allow one instance at runtime.
        if (_instance != null && _instance != this)
        {
            enabled = false;
            DestroyImmediate(this);
            return;
        }

        _instance = this;
    }