예제 #1
0
    async void RegisterEvent()
    {
        var publisher = await Unique <Unique_TestEventPublisher2> .GetAsync();

        publisher.SomeEvent.AddListener((message) =>
        {
            Debug.Log(message + " / " + gameObject.name);
        });
    }