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
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

name string

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

objectNames IReadOnlyCollection<string>

Returns

IReadOnlyList<ILunyObject>

OnServiceInitialize()

protected override void OnServiceInitialize()

OnServiceShutdown()

protected override void OnServiceShutdown()

OnServiceStartup()

protected override void OnServiceStartup()

ReloadScene()

public override void ReloadScene()