コード例 #1
0
        // Start is called before the first frame update
        void Start()
        {
            Courier.Register <BattleEvent>(Handler_One);
            Courier.Register <BattleEvent>(Handler_Two);
            Courier.Send(new BattleEvent()
            {
                id = 1
            });

            Courier.Unregister <BattleEvent>(Handler_One);
            Courier.Send(new BattleEvent()
            {
                id = 3
            });
        }