Class GhostCreatedEventArgs
Event arguments for OnGhostCreated. The game builds a placement ghost from the item definition, so there is no item instance.
public class GhostCreatedEventArgs
- Inheritance
-
GhostCreatedEventArgs
- Inherited Members
- Extension Methods
Properties
GameObject
The placement ghost shown while the player places the item.
public GameObject GameObject { get; }
Property Value
- GameObject
ItemId
The definition ID of the item being placed.
public string ItemId { get; }