- LocalizationManager: 新增翻译表(SetFormatted/SetDuration/LocalizeOperateMsg) - LoginPanel: InputField placeholder本地化、字体颜色保持 - HistoryPanel: 用时数据本地化、placeholder本地化 - RecordDetailPanel: 操作详情消息本地化(LanguageChanged重建) - AppraiseWindowBase: 评价等级本地化、操作消息重建 - EditorAppraiser: 所有评估消息改用InjectOperateMsgLocalized - StudentOperateRecorder: 新增InjectOperateMsgLocalized方法 - LocalizationLanguageTestBar: 单例模式、ScreenSpaceOverlay筛选 - 字体切换时保留颜色和verticalOverflow
50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
// SDK Base|SDK_Base|001
|
|
namespace VRTK
|
|
{
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// Abstract superclass that defines that a particular class is an SDK.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// 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).
|
|
/// </remarks>
|
|
public abstract class SDK_Base : ScriptableObject
|
|
{
|
|
/// <summary>
|
|
/// This method is called just before loading the <see cref="VRTK_SDKSetup"/> that's using this SDK.
|
|
/// </summary>
|
|
/// <param name="setup">The SDK Setup which is using this SDK.</param>
|
|
public virtual void OnBeforeSetupLoad(VRTK_SDKSetup setup)
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// This method is called just after loading the <see cref="VRTK_SDKSetup"/> that's using this SDK.
|
|
/// </summary>
|
|
/// <param name="setup">The SDK Setup which is using this SDK.</param>
|
|
public virtual void OnAfterSetupLoad(VRTK_SDKSetup setup)
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// This method is called just before unloading the <see cref="VRTK_SDKSetup"/> that's using this SDK.
|
|
/// </summary>
|
|
/// <param name="setup">The SDK Setup which is using this SDK.</param>
|
|
public virtual void OnBeforeSetupUnload(VRTK_SDKSetup setup)
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// This method is called just after unloading the <see cref="VRTK_SDKSetup"/> that's using this SDK.
|
|
/// </summary>
|
|
/// <param name="setup">The SDK Setup which is using this SDK.</param>
|
|
public virtual void OnAfterSetupUnload(VRTK_SDKSetup setup)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |