Class Pickup_DreamDust
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
Pickup_DreamDust
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class Pickup_DreamDust : PickupInstance, ILogicUpdate, ICleanup, ICustomDestroyRoutine
Fields
amount
Declaration
[NonSerialized]
public int amount
Field Value
| Type | Description |
|---|---|
| int |
isGivenByOtherPlayer
Declaration
[NonSerialized]
public bool isGivenByOtherPlayer
Field Value
| Type | Description |
|---|---|
| bool |
onGiveDreamDust
Called on server.
Declaration
public SafeAction<DewPlayer, int> onGiveDreamDust
Field Value
| Type | Description |
|---|---|
| SafeAction<DewPlayer, int> |
target
Declaration
[NonSerialized]
public Hero target
Field Value
| Type | Description |
|---|---|
| Hero |
Properties
isDestroyedOnRoomChange
Declaration
public override bool isDestroyedOnRoomChange { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Methods
CanBeUsedBy(Hero)
Declaration
protected override bool CanBeUsedBy(Hero hero)
Parameters
| Type | Name | Description |
|---|---|---|
| Hero | hero |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
OnCreate()
Declaration
protected override void OnCreate()
Overrides
OnDestroyActor()
Declaration
protected override void OnDestroyActor()
Overrides
OnPickup(Hero)
Declaration
protected override void OnPickup(Hero hero)
Parameters
| Type | Name | Description |
|---|---|---|
| Hero | hero |