Class Punch
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
Punch
Namespace: BaseDefense.AttackImplemention
Assembly: BaseDefense.dll
Syntax
[RequireComponent(typeof(SphereCollider))]
public class Punch : MonoBehaviour
Properties
Damage
Урон, наносимый врагом игроку
Declaration
public MinMaxSliderFloat Damage { get; set; }
Property Value
Type | Description |
---|---|
MinMaxSliderFloat | Диапазон значений на отрезке [minLimit, maxLimit] |
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |