private void Start() { cardManager = new CardManager(); Task task = new Task(); //设置任务目标5张牌 task.SetTarget(5); //绑定监听 cardManager.AddGetCardListener(task.TaskCallback); _action = () => { Debug.Log("第一次绑定委托"); }; _action += () => { Debug.Log("第二次绑定委托"); }; _action += () => { Debug.Log("第三次绑定委托"); }; }