From b9b3efcaf0a9be4a444172814a5399b094ca6590 Mon Sep 17 00:00:00 2001 From: alexiscatnip Date: Wed, 3 Aug 2022 00:53:51 +0800 Subject: [PATCH] style: update comment header of RD Bootstrapper --- Assets/Raindrop/Bootstrap/RaindropBootstrapper.cs | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Assets/Raindrop/Bootstrap/RaindropBootstrapper.cs b/Assets/Raindrop/Bootstrap/RaindropBootstrapper.cs index 47f28f7..f416297 100644 --- a/Assets/Raindrop/Bootstrap/RaindropBootstrapper.cs +++ b/Assets/Raindrop/Bootstrap/RaindropBootstrapper.cs @@ -13,25 +13,18 @@ using Logger = OpenMetaverse.Logger; namespace Raindrop.Bootstrap { - // This sets up and tears down the raindrop instance service. - - // To use, - // Just attach this script as a component of a gameobject in bootstrap - // scene. - // Then, you can disable/enable UI-scene loading using the boolean - - // Disable UI scene loading for headless tests + // This sets up and tears down the (globally-accessible) raindrop instance. public class RaindropBootstrapper : ScriptableObject { [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] public static void Start() { - RegisterToAppTeardownEvent(); + Subscribe_To_AppTeardownEvent(); Start_Raindrop_CoreDependencies(); } - private static void RegisterToAppTeardownEvent() + private static void Subscribe_To_AppTeardownEvent() { #if !UNITY_EDITOR Application.quitting += Quit_Application;