OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
ThirdService.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
3
namespace
PixoVR.Core.Examples
4
{
5
public
class
ThirdService
: 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
Foo
()
18
{
19
Debug.Log(
"This is Foo method from "
+ nameof(
ThirdService
));
20
}
21
}
22
}
PixoVR.Core.Examples.ThirdService
Definition
ThirdService.cs:6
PixoVR.Core.Examples.ThirdService.OnDestroy
void OnDestroy()
Definition
ThirdService.cs:12
PixoVR.Core.Examples.ThirdService.Awake
void Awake()
Definition
ThirdService.cs:7
PixoVR.Core.Examples.ThirdService.Foo
void Foo()
Definition
ThirdService.cs:17
PixoVR.Core.ServiceLocator
Unity components communication service.
Definition
ServiceLocator.cs:10
PixoVR.Core.Examples
Definition
FadeRegister.cs:5
com.pixovr.coreunitysdk
Samples
ServiceLocator
Services
ThirdService.cs
Generated
Wed Oct 9 2024 19:24:02
by Doxygen version
1.10.0