Minor improvements
This commit is contained in:
@@ -190,7 +190,7 @@ namespace FlaxEditor.Windows
|
|||||||
};
|
};
|
||||||
_addPluginProjectButton = new Button
|
_addPluginProjectButton = new Button
|
||||||
{
|
{
|
||||||
Text = "Create Plugin Project",
|
Text = "Create Project",
|
||||||
TooltipText = "Add new plugin project.",
|
TooltipText = "Add new plugin project.",
|
||||||
AnchorPreset = AnchorPresets.TopLeft,
|
AnchorPreset = AnchorPresets.TopLeft,
|
||||||
LocalLocation = new Float2(70, 18),
|
LocalLocation = new Float2(70, 18),
|
||||||
@@ -201,7 +201,7 @@ namespace FlaxEditor.Windows
|
|||||||
|
|
||||||
_cloneProjectButton = new Button
|
_cloneProjectButton = new Button
|
||||||
{
|
{
|
||||||
Text = "Clone Plugin Project",
|
Text = "Clone Project",
|
||||||
TooltipText = "Git Clone a plugin project.",
|
TooltipText = "Git Clone a plugin project.",
|
||||||
AnchorPreset = AnchorPresets.TopLeft,
|
AnchorPreset = AnchorPresets.TopLeft,
|
||||||
LocalLocation = new Float2(70 + _addPluginProjectButton.Size.X + 8, 18),
|
LocalLocation = new Float2(70 + _addPluginProjectButton.Size.X + 8, 18),
|
||||||
|
|||||||
@@ -31,19 +31,19 @@ public:
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Directional light that is used to simulate the sun.
|
/// Directional light that is used to simulate the sun.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_FIELD(Attributes="EditorOrder(10), DefaultValue(null), EditorDisplay(\"Sun\")")
|
API_FIELD(Attributes="EditorOrder(10), DefaultValue(null), EditorDisplay(\"Sky\")")
|
||||||
ScriptingObjectReference<DirectionalLight> SunLight;
|
ScriptingObjectReference<DirectionalLight> SunLight;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The sun disc scale.
|
/// The sun disc scale.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_FIELD(Attributes="EditorOrder(20), DefaultValue(2.0f), EditorDisplay(\"Sun\"), Limit(0, 100, 0.01f)")
|
API_FIELD(Attributes="EditorOrder(20), DefaultValue(2.0f), EditorDisplay(\"Sky\"), Limit(0, 100, 0.01f)")
|
||||||
float SunDiscScale = 2.0f;
|
float SunDiscScale = 2.0f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The sun power.
|
/// The sun power.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_FIELD(Attributes="EditorOrder(30), DefaultValue(8.0f), EditorDisplay(\"Sun\"), Limit(0, 1000, 0.01f)")
|
API_FIELD(Attributes="EditorOrder(30), DefaultValue(8.0f), EditorDisplay(\"Sky\"), Limit(0, 1000, 0.01f)")
|
||||||
float SunPower = 8.0f;
|
float SunPower = 8.0f;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user