/// <summary> /// 初始化场景交互 /// </summary> /// <param name="itemName"></param> public void InitItemInteract(string itemName) { Debug.Log(itemName); Item target = GetItemByName(itemName); if (target != null) { LinesController.instance.itemScripts = target.GetItemLines(); instance.ChooseItemChapter(itemName); } }