OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
FirstService.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
3
namespace
PixoVR.Core.Examples
4
{
5
public
class
FirstService
: MonoBehaviour
6
{
7
private
void
Awake
()
8
{
9
ServiceLocator
.Register(
this
);
10
}
11
12
private
void
OnDestroy
()
13
{
14
ServiceLocator
.Unregister(
this
);
15
}
16
17
public
void
SayHi
()
18
{
19
Debug.Log(
"Hi, this is the "
+ nameof(
FirstService
));
20
}
21
22
}
23
}
PixoVR.Core.Examples.FirstService
Definition
FirstService.cs:6
PixoVR.Core.Examples.FirstService.OnDestroy
void OnDestroy()
Definition
FirstService.cs:12
PixoVR.Core.Examples.FirstService.SayHi
void SayHi()
Definition
FirstService.cs:17
PixoVR.Core.Examples.FirstService.Awake
void Awake()
Definition
FirstService.cs:7
PixoVR.Core.ServiceLocator
Unity components communication service.
Definition
ServiceLocator.cs:10
PixoVR.Core.Examples
Definition
FadeRegister.cs:5
com.pixovr.coreunitysdk
Samples
ServiceLocator
Services
FirstService.cs
Generated
Mon Jan 27 2025 17:46:13
by Doxygen version
1.10.0