Class SynthesizedAlignment
Creates the data for a plane alignment trait
When added to a synthesized object, adds an alignment based on the game object's rotation
Inheritance
SynthesizedAlignment
Syntax
public class SynthesizedAlignment : SynthesizedTrait<int>, ISimulatable, IProvidesTraits<int>, IProvidesTraits
Properties
TraitName
Declaration
public override string TraitName { get; }
Property Value
Overrides
Declaration
public override bool UpdateWithTransform { get; }
Property Value
Overrides
Methods
GetTraitData()
Declaration
public override int GetTraitData()
Returns
Overrides
Unity.MARS.Data.SynthesizedTrait<System.Int32>.GetTraitData()
Extension Methods