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