灯光部分修正
This commit is contained in:
@@ -28,6 +28,9 @@ namespace AibisDream.FixSystem
|
||||
|
||||
public TaskScreen TaskScreen { get; private set; }
|
||||
|
||||
[SerializeField] private FixLightSystem fixLightSystem;
|
||||
public FixLightSystem FixLightSystem => fixLightSystem;
|
||||
|
||||
#endregion
|
||||
|
||||
private void Awake()
|
||||
@@ -42,6 +45,12 @@ namespace AibisDream.FixSystem
|
||||
_lineQueue = new Queue<TypewriterByCharacter>();
|
||||
_textItemPrefab = ResourceKit.LoadAssetSync<GameObject>(ConstRef.ScreenTextName);
|
||||
BubbleSlotGroup = GetComponentInChildren<BubbleSlotGroup>();
|
||||
|
||||
// 如果没有手动指定,尝试自动获取 FixLightSystem
|
||||
if (fixLightSystem == null)
|
||||
{
|
||||
fixLightSystem = GetComponentInChildren<FixLightSystem>();
|
||||
}
|
||||
}
|
||||
|
||||
private void Register()
|
||||
|
||||
Reference in New Issue
Block a user