diff --git a/01-Diary/周小结/2024.12.md b/01-Diary/周小结/2024.12.md index abb0bbb..ee8d6d0 100644 --- a/01-Diary/周小结/2024.12.md +++ b/01-Diary/周小结/2024.12.md @@ -4,6 +4,6 @@ 3. 给JiaRan2023生日服制作重定向资产。 4. fix BeiLa毕方服装没有动捕的问题。 -- [ ] 枝江铺雪数据层 +- [x] 枝江铺雪数据层 - [ ] 场景功能切换天空盒 - [ ] \ No newline at end of file diff --git a/02-Note/ASoul/流程笔记/环境&四季流程.md b/02-Note/ASoul/流程笔记/环境&四季流程.md index 5441d78..c3a59ce 100644 --- a/02-Note/ASoul/流程笔记/环境&四季流程.md +++ b/02-Note/ASoul/流程笔记/环境&四季流程.md @@ -1 +1,15 @@ -BP_ProjectV_EnvironmentBlendable \ No newline at end of file +BP_ProjectV_EnvironmentBlendable + +## UI +- WBP_MapEnvironmentWeatherView + - this.worldEnvironment = this.GetWorldEnvironment(); + +```ts +private GetWorldEnvironment(): UE.WorldEnvironment { + if (!this.worldEnvironment) { + this.worldEnvironment = UE.GameplayStatics.GetActorOfClass(this, UE.WorldEnvironment.StaticClass()) as UE.WorldEnvironment; + } + + return this.worldEnvironment; +} +``` \ No newline at end of file