Class UnitySceneService
Unity implementation of scene information.
public sealed class UnitySceneService : LunySceneServiceBase, ILunySceneService, ILunyEngineService
- Inheritance
-
objectUnitySceneService
- 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
namestring
Returns
GetObjects(IReadOnlyCollection<string>)
Gets objects with matching names in the current scene. Creates LunyObject instances.
public override IReadOnlyList<ILunyObject> GetObjects(IReadOnlyCollection<string> objectNames)
Parameters
objectNamesIReadOnlyCollection<string>
Returns
- IReadOnlyList<ILunyObject>
OnServiceInitialize()
protected override void OnServiceInitialize()
OnServiceShutdown()
protected override void OnServiceShutdown()
OnServiceStartup()
protected override void OnServiceStartup()
ReloadScene()
public override void ReloadScene()