解决了内存泄漏问题(BasicSplineJustFollow.Update中判断材质是否变更的方式有误)
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Demo.Game
|
||||
MySplineCore = FindWithPath(path, false) as SplineCore;
|
||||
if (MySplineCore == null)
|
||||
{
|
||||
yield return LoadSubScriptAsync(nameof(SplineCore), path, x =>
|
||||
yield return DoLoadSubScriptAsync(nameof(SplineCore), path, x =>
|
||||
{
|
||||
MySplineCore = x as SplineCore;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user