-
Member
Oculus position at mini map ?
I would like to see an icon at mini map to indicate where the oculus circle is opened ...
If any one knows how to do it and inform here I appreciate..
-
Contributor
rename file in \plugins\User\PluginEnablerOrDisablerPlugin.txt -> \plugins\User\PluginEnablerOrDisablerPlugin.cs
and add this lines in Customize section
Code:
// Oculus minimap
Hud.RunOnPlugin<OculusPlugin>(plugin =>
{
plugin.Decorator.Decorators.Add(new MapShapeDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(255, 128, 255, 0, 2),
Radius = 10.0f,
ShapePainter = new CircleShapePainter(Hud),
});
});
If I helped you, click "Give Thanks!"
-
Post Thanks / Like - 5 Thanks
-
Member
Originally Posted by
MrOne
rename file in \plugins\User\PluginEnablerOrDisablerPlugin.txt -> \plugins\User\PluginEnablerOrDisablerPlugin.cs
and add this lines in Customize section
Code:
// Oculus minimap
Hud.RunOnPlugin<OculusPlugin>(plugin =>
{
plugin.Decorator.Decorators.Add(new MapShapeDecorator(Hud)
{
Brush = Hud.Render.CreateBrush(255, 128, 255, 0, 2),
Radius = 10.0f,
ShapePainter = new CircleShapePainter(Hud),
});
});
Ty so much for your quick response... It worked..
and ofc I gave my Thanks