blob: 8e3d917d53ba5a2e3633458238eb45d199f93bad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 回旋镖
/// </summary>
public class Equip_Boomerang : EquipBase
{
public override AutoMode autoMode => AutoMode.Condition;
public override string name => "回旋镖";
public override string iconPath => "art/ui/equipicon/boomerang";
/// <summary>
/// 接到回旋镖后重新掷出,否则间隔一段时间投掷
/// </summary>
/// <param name="owner"></param>
/// <returns></returns>
public override bool CheckCondition(GameObject owner)
{
return false;
}
public override void OnTrigger(GameObject owner)
{
}
public override void Update(GameObject owner)
{
}
}
|