根据提供的code differences信息,由于没有具体的代码变更内容,我将生成一个通用的commit message模板:
``` docs(readme): 更新文档说明 - 添加项目使用指南 - 完善API接口说明 - 修正错误的配置示例 ``` 注意:由于您提供的code differences部分为空,以上是一个示例模板。当您有具体的代码变更时,请提供详细的变更内容以便生成更准确的commit message。
This commit is contained in:
1 parent
11f1af357d
commit
7d9d0f52d1
83 files changed
+3510
-1493
No files matched your search
@@ -16,13 +16,27 @@ public class ShockwaveRing : MonoBehaviour
|
||||
private Material mat;
|
||||
private float timer = -1f;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Initialize();
|
||||
}
|
||||
|
||||
void Start()
|
||||
{
|
||||
Initialize();
|
||||
}
|
||||
|
||||
private void Initialize()
|
||||
{
|
||||
if (mat != null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// 用 .material 生成独立实例,不影响材质资产
|
||||
mat = GetComponent<Renderer>().material;
|
||||
mat.SetFloat("_Progress", 0f);
|
||||
transform.localScale = startScale;
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -30,6 +44,7 @@ public class ShockwaveRing : MonoBehaviour
|
||||
/// </summary>
|
||||
public void Play()
|
||||
{
|
||||
Initialize();
|
||||
gameObject.SetActive(true);
|
||||
timer = 0f;
|
||||
mat.SetFloat("_Progress", 0f);
|
||||
|
||||
@@ -125,7 +125,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 9faf161c1d2f649baaf36efc3fb301fc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
duration: 1
|
||||
duration: 0.2
|
||||
autoDestroy: 1
|
||||
overrideColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
overrideRadius: 0
|
||||
|
||||
@@ -385,7 +385,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &3354386702202317803
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -398,8 +399,10 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
detectionRange: 15
|
||||
attackRange: 1
|
||||
modelFacingOffset: 0
|
||||
attackPower: 10
|
||||
@@ -414,6 +417,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &165373885999363036
|
||||
MonoBehaviour:
|
||||
|
||||
@@ -504,7 +504,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &3330526767746070308
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -522,7 +523,7 @@ MonoBehaviour:
|
||||
speed: 5
|
||||
detectionRange: 100
|
||||
attackRange: 6
|
||||
modelFacingOffset: 0
|
||||
modelFacingOffset: 90
|
||||
attackPower: 10
|
||||
attackDuration: 0
|
||||
attackType: 2
|
||||
|
||||
@@ -416,7 +416,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &166917633014101340
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -420,7 +420,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &7384803545623865944
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -311,7 +311,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &3749684936670238626
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -346,7 +346,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &233433209084818606
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -362,7 +363,7 @@ MonoBehaviour:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
detectionRange: 20
|
||||
attackRange: 6
|
||||
modelFacingOffset: 90
|
||||
attackPower: 10
|
||||
@@ -378,6 +379,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &547187195648260442
|
||||
MonoBehaviour:
|
||||
|
||||
@@ -401,7 +401,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &5283395080195203019
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -414,8 +415,10 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
detectionRange: 20
|
||||
attackRange: 6
|
||||
modelFacingOffset: 0
|
||||
attackPower: 10
|
||||
@@ -431,6 +434,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &6342080793053654425
|
||||
MonoBehaviour:
|
||||
|
||||
@@ -343,7 +343,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &3995251606272715396
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -356,10 +357,12 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
attackRange: 1
|
||||
modelFacingOffset: 0
|
||||
detectionRange: 15
|
||||
attackRange: 1.5
|
||||
modelFacingOffset: 90
|
||||
attackPower: 10
|
||||
attackDuration: 0
|
||||
attackType: 0
|
||||
@@ -372,6 +375,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &7519013316474627281
|
||||
MonoBehaviour:
|
||||
|
||||
@@ -329,7 +329,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &7308248179790118654
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -342,9 +343,11 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
attackRange: 1
|
||||
detectionRange: 15
|
||||
attackRange: 1.5
|
||||
modelFacingOffset: 0
|
||||
attackPower: 10
|
||||
attackDuration: 0
|
||||
@@ -358,6 +361,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &5519732045501058211
|
||||
MonoBehaviour:
|
||||
@@ -374,6 +378,10 @@ MonoBehaviour:
|
||||
skillDamage: 125
|
||||
skillRadius: 2.5
|
||||
skillAnimationDuration: 2.22
|
||||
groundCrackEffectPrefab: {fileID: 1670833528851026573, guid: 066bbd566f6034806a29d1e0a6517df4,
|
||||
type: 3}
|
||||
groundCrackForwardDistance: 1.2
|
||||
groundCrackHeightOffset: 0.05
|
||||
--- !u!4 &4457840052845775698 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 62d9f853c067ff443bd2a3aa382ab563,
|
||||
|
||||
@@ -431,7 +431,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &2471575427310325278
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -444,8 +445,10 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
detectionRange: 20
|
||||
attackRange: 6
|
||||
modelFacingOffset: 0
|
||||
attackPower: 10
|
||||
@@ -461,6 +464,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &3563675809045930453
|
||||
MonoBehaviour:
|
||||
|
||||
@@ -241,7 +241,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &1685608640327596089
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -254,8 +255,10 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
detectionRange: 15
|
||||
attackRange: 1
|
||||
modelFacingOffset: 0
|
||||
attackPower: 10
|
||||
@@ -270,6 +273,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &5070228847944057027
|
||||
MonoBehaviour:
|
||||
|
||||
@@ -268,7 +268,7 @@ MonoBehaviour:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
detectionRange: 15
|
||||
attackRange: 1.5
|
||||
modelFacingOffset: 0
|
||||
attackPower: 10
|
||||
@@ -283,6 +283,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &2537748805912434613
|
||||
MonoBehaviour:
|
||||
@@ -300,7 +301,7 @@ MonoBehaviour:
|
||||
skillRadius: 2
|
||||
stunDuration: 1
|
||||
skillAnimationDuration: 0
|
||||
shockwaveEffectPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
shockwaveEffectPrefab: {fileID: 2197285705285267162, guid: c2264ab9308eec342a9aabba9e806a39,
|
||||
type: 3}
|
||||
--- !u!1001 &5212681125682285543
|
||||
PrefabInstance:
|
||||
|
||||
@@ -230,7 +230,8 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
showStunIndicator: 1
|
||||
indicatorHeight: 0.35
|
||||
stunIndicatorPrefab: {fileID: 0}
|
||||
stunIndicatorPrefab: {fileID: 2432573200162841629, guid: de288ea16be0c1544a4c6eb71e899570,
|
||||
type: 3}
|
||||
--- !u!114 &3361318073217798046
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -243,8 +244,10 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
characterDataName:
|
||||
level: 1
|
||||
speed: 5
|
||||
detectionRange: 30
|
||||
detectionRange: 15
|
||||
attackRange: 1
|
||||
modelFacingOffset: 0
|
||||
attackPower: 10
|
||||
@@ -259,6 +262,7 @@ MonoBehaviour:
|
||||
summonerMode: 0
|
||||
returnToAnchorWhenIdle: 0
|
||||
anchorArrivalDistance: 0.35
|
||||
useAnchorLeash: 0
|
||||
target: {fileID: 0}
|
||||
--- !u!114 &5891340383424048665
|
||||
MonoBehaviour:
|
||||
|
||||
Reference in new issue
Block a user