mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-01 15:52:30 +08:00
refactor(LaserSummoner): 修复资源ID命名不规范并更新引用
统一替换场景内的子资源随机ID为更易区分的命名,修正粒子材质对曲线、渐变纹理的引用指向
This commit is contained in:
@@ -19,42 +19,42 @@ shader_parameter/wave_width = 0.5
|
|||||||
shader_parameter/edge_nonalpha = 0.6
|
shader_parameter/edge_nonalpha = 0.6
|
||||||
shader_parameter/alpha = 1.0
|
shader_parameter/alpha = 1.0
|
||||||
|
|
||||||
[sub_resource type="Curve" id="Curve_itlbo"]
|
[sub_resource type="Curve" id="Curve_5qhrw"]
|
||||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
point_count = 2
|
point_count = 2
|
||||||
|
|
||||||
[sub_resource type="CurveTexture" id="CurveTexture_xathl"]
|
[sub_resource type="CurveTexture" id="CurveTexture_e7vrf"]
|
||||||
curve = SubResource("Curve_itlbo")
|
curve = SubResource("Curve_5qhrw")
|
||||||
|
|
||||||
[sub_resource type="Curve" id="Curve_75ctq"]
|
[sub_resource type="Curve" id="Curve_ws1jd"]
|
||||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||||
point_count = 2
|
point_count = 2
|
||||||
|
|
||||||
[sub_resource type="CurveTexture" id="CurveTexture_my7uy"]
|
[sub_resource type="CurveTexture" id="CurveTexture_ypwek"]
|
||||||
curve = SubResource("Curve_75ctq")
|
curve = SubResource("Curve_ws1jd")
|
||||||
|
|
||||||
[sub_resource type="Gradient" id="Gradient_62xhh"]
|
[sub_resource type="Gradient" id="Gradient_3diwe"]
|
||||||
offsets = PackedFloat32Array(0, 0.60687)
|
offsets = PackedFloat32Array(0, 0.60687)
|
||||||
colors = PackedColorArray(1, 1, 1, 1, 1, 0, 0, 1)
|
colors = PackedColorArray(1, 1, 1, 1, 1, 0, 0, 1)
|
||||||
|
|
||||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_yix5j"]
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_tn8hw"]
|
||||||
gradient = SubResource("Gradient_62xhh")
|
gradient = SubResource("Gradient_3diwe")
|
||||||
|
|
||||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_m7jvq"]
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_nu1m4"]
|
||||||
particle_flag_disable_z = true
|
particle_flag_disable_z = true
|
||||||
emission_shape = 3
|
emission_shape = 3
|
||||||
emission_box_extents = Vector3(0, 1000, 1)
|
emission_box_extents = Vector3(0, 1000, 1)
|
||||||
angle_min = 1.07288e-05
|
angle_min = 1.07288e-05
|
||||||
angle_max = 360.0
|
angle_max = 360.0
|
||||||
angle_curve = SubResource("CurveTexture_my7uy")
|
angle_curve = SubResource("CurveTexture_ypwek")
|
||||||
spread = 15.0
|
spread = 15.0
|
||||||
initial_velocity_min = -500.0
|
initial_velocity_min = -500.0
|
||||||
initial_velocity_max = 500.0
|
initial_velocity_max = 500.0
|
||||||
gravity = Vector3(0, 0, 0)
|
gravity = Vector3(0, 0, 0)
|
||||||
scale_min = 3.0
|
scale_min = 3.0
|
||||||
scale_max = 15.0
|
scale_max = 15.0
|
||||||
color_ramp = SubResource("GradientTexture1D_yix5j")
|
color_ramp = SubResource("GradientTexture1D_tn8hw")
|
||||||
alpha_curve = SubResource("CurveTexture_xathl")
|
alpha_curve = SubResource("CurveTexture_e7vrf")
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_1rif1"]
|
[sub_resource type="Animation" id="Animation_1rif1"]
|
||||||
length = 0.001
|
length = 0.001
|
||||||
@@ -230,7 +230,7 @@ position = Vector2(50, 1000)
|
|||||||
amount = 400
|
amount = 400
|
||||||
lifetime = 0.25
|
lifetime = 0.25
|
||||||
visibility_rect = Rect2(-100, -1000, 200, 2000)
|
visibility_rect = Rect2(-100, -1000, 200, 2000)
|
||||||
process_material = SubResource("ParticleProcessMaterial_m7jvq")
|
process_material = SubResource("ParticleProcessMaterial_nu1m4")
|
||||||
|
|
||||||
[node name="launcher" type="Polygon2D" parent="texture/rect" index="1" unique_id=1254071384]
|
[node name="launcher" type="Polygon2D" parent="texture/rect" index="1" unique_id=1254071384]
|
||||||
position = Vector2(50, -21)
|
position = Vector2(50, -21)
|
||||||
|
|||||||
Reference in New Issue
Block a user