OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
GameController.cs
Go to the documentation of this file.
1
namespace
PixoVR.Core.Examples
2
{
3
using
UnityEngine;
4
5
public
class
GameController
: MonoBehaviour
6
{
7
private
void
Start
()
8
{
9
var firstService =
ServiceLocator
.Resolve<
FirstService
>();
10
var secondService =
ServiceLocator
.Resolve<
SecondService
>();
11
var thirdService =
ServiceLocator
.Resolve<
ThirdService
>();
12
13
firstService?.SayHi();
14
secondService?.SimpleMethod();
15
thirdService?.
Foo
();
16
}
17
}
18
}
PixoVR.Core.Examples.FirstService
Definition
FirstService.cs:6
PixoVR.Core.Examples.GameController
Definition
GameController.cs:6
PixoVR.Core.Examples.GameController.Start
void Start()
Definition
GameController.cs:7
PixoVR.Core.Examples.SecondService
Definition
SecondService.cs:6
PixoVR.Core.Examples.ThirdService
Definition
ThirdService.cs:6
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
Scripts
GameController.cs
Generated
Wed Oct 9 2024 19:24:02
by Doxygen version
1.10.0