diff options
author | chai <chaifix@163.com> | 2021-04-22 13:56:53 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-04-22 13:56:53 +0800 |
commit | 45cbcec16c038def8dcfd8e98083b548042f645d (patch) | |
tree | e1cf07f6627f8339756b5d4a751e3b598e81b3ce | |
parent | e15500053ca6f32851a355fa82b4920184fbdc9e (diff) |
*settings
-rw-r--r-- | Assets/LensFlare/Flare Atlas.asset | 2 | ||||
-rw-r--r-- | Assets/LensFlare/FlareBatch.cs | 14 | ||||
-rw-r--r-- | Assets/LensFlare/FlareSource.cs | 22 | ||||
-rw-r--r-- | Assets/LensFlare/LensFlare.unity | 452 |
4 files changed, 446 insertions, 44 deletions
diff --git a/Assets/LensFlare/Flare Atlas.asset b/Assets/LensFlare/Flare Atlas.asset index c151cb1..91baffd 100644 --- a/Assets/LensFlare/Flare Atlas.asset +++ b/Assets/LensFlare/Flare Atlas.asset @@ -23,7 +23,7 @@ MonoBehaviour: - Atlas: {fileID: 11400000} ScaleOffset: {x: 0.24316406, y: 0.2397461, z: 0, w: 0.13623047} - Atlas: {fileID: 11400000} - ScaleOffset: {x: 0.12011719, y: 0.123535156, z: 0, w: 0} + ScaleOffset: {x: 0.12646484, y: 0.123535156, z: 0, w: 0} - Atlas: {fileID: 11400000} ScaleOffset: {x: 0.11669922, y: 0.123535156, z: 0.13623047, w: 0} - Atlas: {fileID: 11400000} diff --git a/Assets/LensFlare/FlareBatch.cs b/Assets/LensFlare/FlareBatch.cs index 709183f..41c7991 100644 --- a/Assets/LensFlare/FlareBatch.cs +++ b/Assets/LensFlare/FlareBatch.cs @@ -96,13 +96,18 @@ public class FlareBatch : MonoBehaviour Vector2 flareSpacePos = ViewportToFlareSpace(viewportPos); // 光源在flare space的坐标
Vector2 flareVec = flareSpacePos - center;
float angle = Mathf.Atan2(flareSpacePos.y, flareSpacePos.x) * Mathf.Rad2Deg;
+ float fac = 1;
+ if (source.SpreadMaxminum != 0)
+ fac = Mathf.Clamp(flareVec.magnitude / source.SpreadMaxminum, 0, 1); // 扩散比例
List<Vertexhelper> meshes = new List<Vertexhelper>();
- for (int i = 0; i < source.Flares.Count - 1; ++i)
+ for (int i = 0; i < source.Flares.Count; ++i)
{
Flare flare = source.Flares[i];
if (!flare.IsActive)
continue;
Vector2 size = source.GetFlareSize(flare);
+ float sclae = Mathf.Lerp(flare.MinScale, flare.MaxScale, source.GetScaleCurveValue(fac));
+ float alpha = Mathf.Lerp(1, 0, source.GetAlphaCurveValue(fac));
Vector2 halfSize = size / 2;
Vertexhelper vh = new Vertexhelper();
vh.vertices = new Vector3[]
@@ -113,15 +118,18 @@ public class FlareBatch : MonoBehaviour Vec3(halfSize.x, -halfSize.y, -i*0.01f),
};
Color col = flare.Color;
- vh.color = new Color[] { col, col, col, col };
+ col.a *= alpha;
+ vh.color = new Color[] { col, col, col, col };
Vector2 pos = flareSpacePos - flare.DistanceAspect * flareVec * source.SpreadAmount;
Vector3 _pos = new Vector3(pos.x, pos.y, 0);
for (int j = 0; j < vh.vertices.Length; ++j)
{
+ vh.vertices[j] *= sclae;
vh.vertices[j] = Quaternion.Euler(0, 0, flare.Rotation) * vh.vertices[j];
- vh.vertices[j] = Quaternion.Euler(0, 0, angle) * vh.vertices[j];
+ if(flare.RotateWith)
+ vh.vertices[j] = Quaternion.Euler(0, 0, angle) * vh.vertices[j];
vh.vertices[j] += _pos;
}
vh.uv = new Vector2[]
diff --git a/Assets/LensFlare/FlareSource.cs b/Assets/LensFlare/FlareSource.cs index 2466b52..68cc7f1 100644 --- a/Assets/LensFlare/FlareSource.cs +++ b/Assets/LensFlare/FlareSource.cs @@ -6,14 +6,16 @@ using UnityEngine; [Serializable]
public class Flare
{
+ public string Comment = "";
public bool IsActive = true;
public FlareAtlas Atlas; // flare atlas
public int Index; // flare texture
- public float MaxSize; // 最大,单位unit
- public float MinSize = 0; // 最小,单位unit
+ public float MaxScale = 1f; // 最大,单位unit
+ public float MinScale = 1f; // 最小,单位unit
public Color Color; // 颜色
[Range(0, 360)]
public float Rotation; // 初始的旋转值,即正对着阳光时的姿势
+ public bool RotateWith; // 随着视角变化,是否跟随转动
public bool OverridePixelPerUnit; //
public float PixelPerUnit;
@@ -50,8 +52,14 @@ public class FlareSource : MonoBehaviour public float PixelPerUnit = 100; // 用来控制缩放,在flare space生成网格的大小依据
public AnimationCurve FadeInCurve; // 淡入的alpha曲线
public AnimationCurve FadeOutCurve; // 淡出的alpha曲线
+ public AnimationCurve ScaleCurve;
+ public AnimationCurve AlphaCurve;
[Range(0.1f, 5)]
public float SpreadAmount = 5; // 总长度/光源到光晕中心的长度,用来求得总长度
+ public float SpreadMaxminum = 5; // 最大扩散长度,单位Unit
+
+ [TextArea(1, 10)]
+ public string Comment;
public List<Flare> Flares;
private Vector3 m_ViewportPosition;
@@ -113,5 +121,15 @@ public class FlareSource : MonoBehaviour {
Gizmos.DrawLine(transform.position, m_GameCamera.transform.position);
}
+
+ public float GetScaleCurveValue(float fac)
+ {
+ return ScaleCurve.Evaluate(fac);
+ }
+
+ public float GetAlphaCurveValue(float fac)
+ {
+ return AlphaCurve.Evaluate(fac);
+ }
}
diff --git a/Assets/LensFlare/LensFlare.unity b/Assets/LensFlare/LensFlare.unity index c693dd4..667511d 100644 --- a/Assets/LensFlare/LensFlare.unity +++ b/Assets/LensFlare/LensFlare.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.17864408, g: 0.22368589, b: 0.30562705, a: 1} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -199,7 +199,6 @@ Light: m_UseColorTemperature: 0 m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} m_UseBoundingSphereOverride: 0 - m_UseViewFrustumForShadowCasterCull: 1 m_ShadowRadius: 0 m_ShadowAngle: 0 --- !u!4 &378154551 @@ -307,7 +306,7 @@ GameObject: - component: {fileID: 986942386} - component: {fileID: 986942385} m_Layer: 0 - m_Name: Cube + m_Name: Sphere m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -336,7 +335,7 @@ BoxCollider: m_GameObject: {fileID: 986942383} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 2 m_Size: {x: 1, y: 1, z: 1} m_Center: {x: 0, y: 0, z: 0} @@ -388,7 +387,7 @@ MeshFilter: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 986942383} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1096093578 GameObject: m_ObjectHideFlags: 0 @@ -434,7 +433,7 @@ MonoBehaviour: m_EditorClassIdentifier: m_GameCamera: {fileID: 2134045979} m_FlareCamera: {fileID: 1380528559} - PixelPerUnit: 500 + PixelPerUnit: 600 FadeInCurve: serializedVersion: 2 m_Curve: @@ -483,48 +482,427 @@ MonoBehaviour: m_PreInfinity: 2 m_PostInfinity: 2 m_RotationOrder: 4 + ScaleCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 1 + outSlope: 1 + tangentMode: 34 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 1 + outSlope: 1 + tangentMode: 34 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + AlphaCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 2.7580054 + outSlope: 2.7580054 + tangentMode: 34 + weightedMode: 0 + inWeight: 0 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.28326333 + value: 0.7812418 + inSlope: 1.5316098 + outSlope: 1.5316098 + tangentMode: 34 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0.30521423 + outSlope: 0.30521423 + tangentMode: 34 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 SpreadAmount: 5 + SpreadMaxminum: 5 + Comment: "0-9 \u5149\u6E90\n10-29 \u5C0F\u6591\u70B9\n25-30 \u5927\u6591\u70B9\n30-31\u6700\u8FDC\u5904\u7684\u5149\u8292" Flares: - - IsActive: 1 + - Comment: "0 \u5149\u6E90\u80CC\u540E\u7684\u5F69\u8679" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 22 + MaxScale: 2.6 + MinScale: 1.71 + Color: {r: 1, g: 1, b: 1, a: 0.6666667} + Rotation: 360 + RotateWith: 1 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: -0.83 + - Comment: "1 \u5149\u6E90\u5C04\u7EBF1" + IsActive: 1 Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} - Index: 17 - MaxSize: 0 - MinSize: 0 + Index: 11 + MaxScale: 10 + MinScale: 4 Color: {r: 1, g: 1, b: 1, a: 1} - Rotation: 270 - OverridePixelPerUnit: 1 - PixelPerUnit: 700 - Distance: -2.89 - - IsActive: 1 + Rotation: 360 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0 + - Comment: "2 \u5149\u6E90\u5C04\u7EBF2" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 12 + MaxScale: 10 + MinScale: 4 + Color: {r: 1, g: 1, b: 1, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: -0.14 + - Comment: "3 \u5149\u6E90\u5C04\u7EBF3" + IsActive: 1 Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} - Index: 3 - MaxSize: 0 - MinSize: 0 + Index: 13 + MaxScale: 10 + MinScale: 4 Color: {r: 1, g: 1, b: 1, a: 1} - Rotation: 270 - OverridePixelPerUnit: 1 - PixelPerUnit: 700 + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 Distance: 0 - - IsActive: 1 + - Comment: "4 \u5149\u6E901" + IsActive: 1 Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} - Index: 4 - MaxSize: 0 - MinSize: 0 + Index: 6 + MaxScale: 5 + MinScale: 4 Color: {r: 1, g: 1, b: 1, a: 1} - Rotation: 270 - OverridePixelPerUnit: 1 - PixelPerUnit: 700 - Distance: 3.19 - - IsActive: 1 + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0 + - Comment: "5 \u5149\u6E902" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 8 + MaxScale: 4 + MinScale: 4 + Color: {r: 0.9622642, g: 0.8801094, b: 0.077162705, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0 + - Comment: "6 \u5149\u6E903" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 7 + MaxScale: 4 + MinScale: 4 + Color: {r: 0.9622642, g: 0.8801094, b: 0.077162705, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0.77 + - Comment: "7 \u5149\u6E90\u7A7A\u95F2" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 7 + MaxScale: 4 + MinScale: 4 + Color: {r: 0.9622642, g: 0.8801094, b: 0.077162705, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0.77 + - Comment: "8 \u5149\u6E90\u7A7A\u95F2" + IsActive: 0 Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} Index: 7 - MaxSize: 0 - MinSize: 0 + MaxScale: 4 + MinScale: 4 + Color: {r: 0.9622642, g: 0.8801094, b: 0.077162705, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0.77 + - Comment: "9 \u5149\u6E90\u7A7A\u95F2" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 7 + MaxScale: 4 + MinScale: 4 + Color: {r: 0.9622642, g: 0.8801094, b: 0.077162705, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0.77 + - Comment: "10 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.1 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 0.30588236} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 2 + - Comment: "11 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.2 + MinScale: 0.1 + Color: {r: 1, g: 1, b: 1, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0.71 + - Comment: "12 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.18 + MinScale: 0.03 + Color: {r: 1, g: 1, b: 1, a: 0.30588236} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 0.85 + - Comment: "13 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.4 + MinScale: 0.01 + Color: {r: 1, g: 1, b: 1, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 1.13 + - Comment: "14 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.2 + MinScale: 0.04 Color: {r: 1, g: 1, b: 1, a: 1} - Rotation: 270 - OverridePixelPerUnit: 1 - PixelPerUnit: 700 - Distance: 5.02 + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 1.2 + - Comment: "15 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.1 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 0.078431375} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 1.41 + - Comment: "16 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 2.11 + - Comment: "17 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.2 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 1} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 2.14 + - Comment: "18 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.05 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 0.35686275} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 2.25 + - Comment: "19 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.6 + MinScale: 0.1 + Color: {r: 1, g: 1, b: 1, a: 0.078431375} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 2.81 + - Comment: "20 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 0.34901962} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 2.95 + - Comment: "21 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.1 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 0.2} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 3.22 + - Comment: "22 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.05 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 0.30588236} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 3.36 + - Comment: "23 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 1, g: 1, b: 1, a: 0.38431373} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 4.13 + - Comment: "24 \u5C0F\u6591\u70B9" + IsActive: 1 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.2 + MinScale: 0.05 + Color: {r: 1, g: 0.53044486, b: 0.2235294, a: 0.050980393} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 5.11 + - Comment: "25 \u5C0F\u6591\u70B9" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 0.4479395, g: 1, b: 0.2216981, a: 0.050980393} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 4.69 + - Comment: "26 \u5C0F\u6591\u70B9" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 0.4479395, g: 1, b: 0.2216981, a: 0.050980393} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 4.69 + - Comment: "27 \u5C0F\u6591\u70B9" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 0.4479395, g: 1, b: 0.2216981, a: 0.050980393} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 4.69 + - Comment: "28 \u5C0F\u6591\u70B9" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 0.4479395, g: 1, b: 0.2216981, a: 0.050980393} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 4.69 + - Comment: "29 \u5C0F\u6591\u70B9" + IsActive: 0 + Atlas: {fileID: 11400000, guid: 317e5903581b97148afb8a08854d474d, type: 2} + Index: 2 + MaxScale: 0.3 + MinScale: 0.05 + Color: {r: 0.4479395, g: 1, b: 0.2216981, a: 0.050980393} + Rotation: 333 + RotateWith: 0 + OverridePixelPerUnit: 0 + PixelPerUnit: 0 + Distance: 4.69 --- !u!1 &1129909397 GameObject: m_ObjectHideFlags: 0 @@ -796,7 +1174,6 @@ MonoBehaviour: m_StopNaN: 0 m_Dithering: 0 m_ClearDepth: 1 - m_AllowXRRendering: 1 m_RequiresDepthTexture: 0 m_RequiresColorTexture: 0 m_Version: 2 @@ -1156,7 +1533,6 @@ MonoBehaviour: m_StopNaN: 0 m_Dithering: 0 m_ClearDepth: 1 - m_AllowXRRendering: 1 m_RequiresDepthTexture: 0 m_RequiresColorTexture: 0 m_Version: 2 |