Table of Contents

Class Attack_Melee

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class Attack_Melee : MonoBehaviour
Inheritance
Attack_Melee
Inherited Members
Extension Methods

Constructors

Attack_Melee()

public Attack_Melee()

Fields

additionalAttackForceMultiplier

public float additionalAttackForceMultiplier

Field Value

float

additionalAttackPart

public List<BodypartType> additionalAttackPart

Field Value

List<BodypartType>

anim

public MonsterAnimationHandler anim

Field Value

MonsterAnimationHandler

attackCurve

public AnimationCurve attackCurve

Field Value

AnimationCurve

attackPart

public BodypartType attackPart

Field Value

BodypartType

bot

public Bot bot

Field Value

Bot

collisionThreshold

public float collisionThreshold

Field Value

float

cooldown

public float cooldown

Field Value

float

damage

public float damage

Field Value

float

fallTime

public float fallTime

Field Value

float

force

public float force

Field Value

float

ignoredPlayers

public List<Player> ignoredPlayers

Field Value

List<Player>

knockback

public float knockback

Field Value

float

player

public Player player

Field Value

Player

punchSFX

public SFX_Instance punchSFX

Field Value

SFX_Instance

punching

public bool punching

Field Value

bool

range

public float range

Field Value

float

swingSFX

public SFX_Instance swingSFX

Field Value

SFX_Instance

values

public MonsterAnimationValues values

Field Value

MonsterAnimationValues

view

public PhotonView view

Field Value

PhotonView

Methods

Collide(Collision, Bodypart)

public void Collide(Collision col, Bodypart part)

Parameters

col Collision
part Bodypart

IIgnorePlayer(Player)

public IEnumerator IIgnorePlayer(Player p)

Parameters

p Player

Returns

IEnumerator

RPCA_Attack()

[PunRPC]
public void RPCA_Attack()

RPCA_Hit(int, int, Vector3)

[PunRPC]
public void RPCA_Hit(int viewID, int bodyPartID, Vector3 addForce)

Parameters

viewID int
bodyPartID int
addForce Vector3

Start()

public void Start()

Update()

public void Update()