Class Attack_Melee
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class Attack_Melee : MonoBehaviour
- Inheritance
-
Attack_Melee
- Inherited Members
-
- Extension Methods
-
Constructors
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
Field Value
- Bot
collisionThreshold
public float collisionThreshold
Field Value
- float
cooldown
Field Value
- float
damage
Field Value
- float
fallTime
Field Value
- float
force
Field Value
- float
ignoredPlayers
public List<Player> ignoredPlayers
Field Value
- List<Player>
knockback
Field Value
- float
player
Field Value
- Player
punchSFX
public SFX_Instance punchSFX
Field Value
- SFX_Instance
punching
Field Value
- bool
range
Field Value
- float
swingSFX
public SFX_Instance swingSFX
Field Value
- SFX_Instance
values
public MonsterAnimationValues values
Field Value
- MonsterAnimationValues
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()
Update()