OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
SimpleConsumerAsync.cs
Go to the documentation of this file.
1
using
PixoVR.Core
;
2
using
UnityEngine;
3
4
class
SimpleConsumerAsync
: MonoBehaviour
5
{
6
#if NET_4_6
7
async
void
Awake()
8
{
9
var msg = await
EventBetter
.ListenAsync<
TextMessage
>();
10
Debug.Log(msg.text,
this
);
11
}
12
#endif
13
}
PixoVR.Core.EventBetter
Intentionally made partial, in case you want to extend it easily.
Definition
EventBetter.cs:20
SimpleConsumerAsync
Definition
SimpleConsumerAsync.cs:5
TextMessage
Definition
SimpleProducer.cs:5
PixoVR.Core
Definition
EventBetter.cs:14
com.pixovr.coreunitysdk
Samples
EventBetter
Simple
SimpleConsumerAsync.cs
Generated
Wed Oct 9 2024 19:24:02
by Doxygen version
1.10.0