BIN
Content/Engine/DefaultRadialMenu.flax
(Stored with Git LFS)
Normal file
BIN
Content/Engine/DefaultRadialMenu.flax
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -38,8 +38,7 @@ namespace FlaxEngine.GUI
|
|||||||
if (_material == value)
|
if (_material == value)
|
||||||
return;
|
return;
|
||||||
_material = value;
|
_material = value;
|
||||||
Object.DestroyNow(_materialInstance);
|
Object.Destroy(ref _materialInstance);
|
||||||
_materialInstance = null;
|
|
||||||
_materialIsDirty = true;
|
_materialIsDirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -174,6 +173,7 @@ namespace FlaxEngine.GUI
|
|||||||
ForegroundColor = style.BackgroundHighlighted;
|
ForegroundColor = style.BackgroundHighlighted;
|
||||||
SelectionColor = style.BackgroundSelected;
|
SelectionColor = style.BackgroundSelected;
|
||||||
}
|
}
|
||||||
|
_material = Content.LoadAsyncInternal<MaterialBase>("Engine/DefaultRadialMenu");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user