Class GenericAttack
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class GenericAttack : MonoBehaviour
- Inheritance
-
GenericAttack
- Inherited Members
-
- Extension Methods
-
Constructors
GenericAttack()
Fields
additionalAttackForceMultiplier
public float additionalAttackForceMultiplier
Field Value
- float
additionalAttackPart
public List<BodypartType> additionalAttackPart
Field Value
- List<BodypartType>
attackCurve
public AnimationCurve attackCurve
Field Value
- AnimationCurve
attackPart
public BodypartType attackPart
Field Value
- BodypartType
collisionThreshold
public float collisionThreshold
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
swingSFX
public SFX_Instance swingSFX
Field Value
- SFX_Instance
view
Field Value
- PhotonView
Methods
CallAttack(Player)
public void CallAttack(Player target)
Parameters
target
Player
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(int)
[PunRPC]
public void RPCA_Attack(int targetID)
Parameters
targetID
int
RPCA_Hit(int, int, Vector3)
[PunRPC]
public void RPCA_Hit(int viewID, int bodyPartID, Vector3 addForce)
Parameters
viewID
int
bodyPartID
int
addForce
Vector3
Start()