示例#1
0
    private void _updateRotation()
    {
        Vector3 look = GameGlobals.LazyLookAt(this.gameObject, m_TargetPosition, m_PositiveDirection);

        m_BeamEnd.transform.right   = look;
        m_BeamStart.transform.right = look;
    }