示例#1
0
    // Use this for initialization
    void Start()
    {
        line         = GetComponent <LineRenderer>();
        line.enabled = false;

        if (null == AudioEvents)
        {
            AudioEvents = gameObject.GetComponent <AudioEventController>();
        }
    }