// SDK Base|SDK_Base|001 namespace VRTK { using UnityEngine; /// /// Abstract superclass that defines that a particular class is an SDK. /// /// /// This is an abstract class to mark all different SDK endpoints with. This is used to allow for type safety when talking about 'an SDK' instead of one of the different endpoints (System, Boundaries, Headset, Controller). /// public abstract class SDK_Base : ScriptableObject { /// /// This method is called just before loading the VRTK_SDKSetup that's using this SDK. /// /// The SDK Setup which is using this SDK. public virtual void OnBeforeSetupLoad(VRTK_SDKSetup setup) { } /// /// This method is called just after loading the VRTK_SDKSetup that's using this SDK. /// /// The SDK Setup which is using this SDK. public virtual void OnAfterSetupLoad(VRTK_SDKSetup setup) { } /// /// This method is called just before unloading the VRTK_SDKSetup that's using this SDK. /// /// The SDK Setup which is using this SDK. public virtual void OnBeforeSetupUnload(VRTK_SDKSetup setup) { } /// /// This method is called just after unloading the VRTK_SDKSetup that's using this SDK. /// /// The SDK Setup which is using this SDK. public virtual void OnAfterSetupUnload(VRTK_SDKSetup setup) { } } }