Table of Contents

Class UnitySceneService

Namespace
Luny.Unity.Services
/
Assembly
Luny.Unity.dll

Unity implementation of scene information.

public sealed class UnitySceneService : LunySceneServiceBase, ILunySceneService, ILunyEngineService
Expand Details ...
Inheritance
Object
UnitySceneService
Implements
Inherited Members

Constructors

UnitySceneService()

public UnitySceneService()

Methods

FindObjectByName(String)

Finds a LunyObject by name in the current scene.

public override ILunyObject FindObjectByName(String name)

Parameters

Type Name Description
String
name

Returns

ILunyObject

GetObjects(IReadOnlyCollection<String>)

Gets objects with matching names in the current scene. Creates LunyObject instances.

public override IReadOnlyList<ILunyObject> GetObjects(IReadOnlyCollection<String> objectNames)

Parameters

Type Name Description
IReadOnlyCollection<String>
objectNames

Returns

IReadOnlyList<ILunyObject>

OnServiceInitialize()

protected override void OnServiceInitialize()

OnServiceShutdown()

protected override void OnServiceShutdown()

OnServiceStartup()

protected override void OnServiceStartup()

ReloadScene()

public override void ReloadScene()