Compass / Radar

v1.0

You can set and reset overrides through the Northstar System component (Compass and Radar each inherit from Northstar System), or on the individual Compass Icons, whichever works best for your use case.

Available Runtime Overrides

// Sets the Vector3 scale of the icon
SetOverrideScale(compassIcon, Vector3.one);
ResetOverrideScale(compassIcon);

// Sets the max opacity
SetOverrideOpacity(compassIcon, 0.5f);
ResetOverrideOpacity(compassIcon);

// Sets the icon color
SetOverrideColor(compassIcon, Color.Red);
ResetOverrideColor(compassIcon);

Last updated

Was this helpful?