remove
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using AibisDream.Framework;
|
||||
using AibisDream.Utility;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
@@ -123,8 +125,13 @@ namespace AibisDream.FixSystem
|
||||
// 设置Line的参数
|
||||
dotLine.sortingLayerName = ConstRef.FixMiddleLayer;
|
||||
dotLine.sortingOrder = 4;
|
||||
// dotLine.materials = new[] { };
|
||||
Addressables.LoadAssetAsync<Material>(ConstRef.DotLineMaterialName);
|
||||
dotLine.materials = new[] { ResourceKit.LoadAssetSync<Material>(ConstRef.DotLineMaterialName) };
|
||||
dotLine.textureMode = LineTextureMode.Tile;
|
||||
dotLine.loop = true;
|
||||
|
||||
// 设置line的周长
|
||||
_targetSpriteRenderer.sprite.GetPhysicsShape(0, new List<Vector2>());
|
||||
|
||||
return dotLine;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user