Class InteractionTargetServerExtensions
Server side accessors for InteractionTarget
Inheritance
System.Object
InteractionTargetServerExtensions
Assembly: Eco.Gameplay.dll
Syntax
public static class InteractionTargetServerExtensions : Object
Methods
Block(InteractionTarget)
Declaration
public static Block Block(this InteractionTarget target)
Parameters
Returns
TryCast<T>(InteractionTarget, out T)
If a block is selected, try casting to the given interface. If an object is selcted, try casting that.
Declaration
public static bool TryCast<T>(this InteractionTarget target, out T val)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Type Parameters