Class Module_Color
public class Module_Color : PartBehaviourModule, IPartModule, IFixedUpdate, IPriorityOverride, IUpdate, IObjectAssemblyPartModule
- Inheritance
-
Module_Color
- Implements
- Inherited Members
- Extension Methods
Constructors
Module_Color()
public Module_Color()
Fields
_dataColor
protected Data_Color _dataColor
Field Value
Properties
PartComponentModuleType
public override Type PartComponentModuleType { get; }
Property Value
Methods
AddDataModules()
protected override void AddDataModules()
GetColors()
public (Color, Color) GetColors()
Returns
- (Color, Color)
InitForNewOABPart()
public override void InitForNewOABPart()
OnInitialize()
protected override void OnInitialize()
OnModuleOABUpdate(float)
protected override void OnModuleOABUpdate(float dt)
Parameters
dtfloat
OnModuleUpdate(float)
protected override void OnModuleUpdate(float deltaTime)
Parameters
deltaTimefloat
OnShutdown()
protected override void OnShutdown()
RefreshColors()
public void RefreshColors()
SetColors(Color, Color)
public void SetColors(Color baseColor, Color accentColor)
Parameters
baseColorColoraccentColorColor