Class PropEntity
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
PropEntity
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class PropEntity : Entity, ILogicUpdate, ICleanup, ICustomDestroyRoutine, IProp
Fields
hitInvulnerableTime
Declaration
[ShowIf("takeOneDamageOnHit", true)]
public float hitInvulnerableTime
Field Value
| Type | Description |
|---|---|
| float |
isUnstoppable
Declaration
public bool isUnstoppable
Field Value
| Type | Description |
|---|---|
| bool |
takeOneDamageOnHit
Declaration
public bool takeOneDamageOnHit
Field Value
| Type | Description |
|---|---|
| bool |
Properties
isRegularReward
Declaration
public virtual bool isRegularReward { get; }
Property Value
| Type | Description |
|---|---|
| bool |
scaleSpawnRateWithPlayers
Declaration
public bool scaleSpawnRateWithPlayers { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
GetStaggerSettings()
Declaration
protected override Entity.StaggerSettings GetStaggerSettings()
Returns
| Type | Description |
|---|---|
| Entity.StaggerSettings |
Overrides
OnCreate()
Declaration
protected override void OnCreate()
Overrides
Explicit Interface Implementations
IProp.customSpawnRotation
Declaration
Quaternion? IProp.customSpawnRotation { get; }
Returns
| Type | Description |
|---|---|
| UnityEngine.Quaternion? |