Click or drag to resize

LivingAddTrait Method

Add a Trait to this Living

Namespace:  Mannequin.Bindings
Assembly:  Collapse (in Collapse.exe) Version: 0.4.6.1290 (0.4.6.1290)
Syntax
C#
public void AddTrait(
	Trait trait,
	double durationInHours = 0
)

Parameters

trait
Type: Mannequin.BindingsTrait
The trait to add
durationInHours (Optional)
Type: SystemDouble
The duration in hours (0 = permanent)
See Also