Hide various Editor types from scripting
This commit is contained in:
@@ -18,6 +18,7 @@ namespace FlaxEditor.CustomEditors.Editors
|
|||||||
/// A custom control type used to pick reference to <see cref="FlaxEngine.Object"/>.
|
/// A custom control type used to pick reference to <see cref="FlaxEngine.Object"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="FlaxEngine.GUI.Control" />
|
/// <seealso cref="FlaxEngine.GUI.Control" />
|
||||||
|
[HideInEditor]
|
||||||
public class FlaxObjectRefPickerControl : Control
|
public class FlaxObjectRefPickerControl : Control
|
||||||
{
|
{
|
||||||
private ScriptType _type;
|
private ScriptType _type;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ namespace FlaxEditor.GUI.Drag
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The drag events helper object.
|
/// The drag events helper object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[HideInEditor]
|
||||||
public abstract class DragHelper
|
public abstract class DragHelper
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ namespace FlaxEditor.GUI.Tabs
|
|||||||
/// Single tab control used by <see cref="Tabs"/>.
|
/// Single tab control used by <see cref="Tabs"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="FlaxEngine.GUI.ContainerControl" />
|
/// <seealso cref="FlaxEngine.GUI.ContainerControl" />
|
||||||
|
[HideInEditor]
|
||||||
public class Tab : ContainerControl
|
public class Tab : ContainerControl
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ namespace FlaxEditor.Surface
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The surface breakpoint data for debugger.
|
/// The surface breakpoint data for debugger.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[HideInEditor]
|
||||||
public struct SurfaceBreakpoint
|
public struct SurfaceBreakpoint
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ namespace FlaxEditor.Tools.Foliage
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Foliage painting brush.
|
/// Foliage painting brush.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[HideInEditor]
|
||||||
public class Brush
|
public class Brush
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace FlaxEditor.Tools.Foliage.Undo
|
|||||||
/// The foliage editing action that records before and after states to swap between unmodified and modified foliage data.
|
/// The foliage editing action that records before and after states to swap between unmodified and modified foliage data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="FlaxEditor.IUndoAction" />
|
/// <seealso cref="FlaxEditor.IUndoAction" />
|
||||||
[Serializable]
|
[Serializable, HideInEditor]
|
||||||
public sealed class EditFoliageAction : IUndoAction
|
public sealed class EditFoliageAction : IUndoAction
|
||||||
{
|
{
|
||||||
[Serialize]
|
[Serialize]
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace FlaxEditor.Actions
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="FlaxEditor.IUndoAction" />
|
/// <seealso cref="FlaxEditor.IUndoAction" />
|
||||||
/// <seealso cref="FlaxEditor.ISceneEditAction" />
|
/// <seealso cref="FlaxEditor.ISceneEditAction" />
|
||||||
[Serializable]
|
[Serializable, HideInEditor]
|
||||||
public class EditSplineAction : IUndoAction, ISceneEditAction
|
public class EditSplineAction : IUndoAction, ISceneEditAction
|
||||||
{
|
{
|
||||||
[Serialize]
|
[Serialize]
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ namespace FlaxEditor.Viewport.Previews
|
|||||||
/// Audio clip PCM data editor preview.
|
/// Audio clip PCM data editor preview.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <seealso cref="FlaxEngine.GUI.ContainerControl" />
|
/// <seealso cref="FlaxEngine.GUI.ContainerControl" />
|
||||||
|
[HideInEditor]
|
||||||
public class AudioClipPreview : ContainerControl
|
public class AudioClipPreview : ContainerControl
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ namespace FlaxEditor.Windows
|
|||||||
public readonly GameCookerWindow GameCookerWin;
|
public readonly GameCookerWindow GameCookerWin;
|
||||||
public readonly PlatformSelector Selector;
|
public readonly PlatformSelector Selector;
|
||||||
|
|
||||||
public readonly Dictionary<PlatformType, Platform> PerPlatformOptions = new Dictionary<PlatformType, Platform>
|
private readonly Dictionary<PlatformType, Platform> PerPlatformOptions = new Dictionary<PlatformType, Platform>
|
||||||
{
|
{
|
||||||
{ PlatformType.Windows, new Windows() },
|
{ PlatformType.Windows, new Windows() },
|
||||||
{ PlatformType.XboxOne, new XboxOne() },
|
{ PlatformType.XboxOne, new XboxOne() },
|
||||||
@@ -61,7 +61,7 @@ namespace FlaxEditor.Windows
|
|||||||
PerPlatformOptions[PlatformType.Switch].Init("Output/Switch", "Switch");
|
PerPlatformOptions[PlatformType.Switch].Init("Output/Switch", "Switch");
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract class Platform
|
abstract class Platform
|
||||||
{
|
{
|
||||||
[HideInEditor]
|
[HideInEditor]
|
||||||
public bool IsSupported;
|
public bool IsSupported;
|
||||||
@@ -155,47 +155,47 @@ namespace FlaxEditor.Windows
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Windows : Platform
|
class Windows : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.Windows64;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.Windows64;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UWP : Platform
|
class UWP : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.UWPx64;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.UWPx64;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class XboxOne : Platform
|
class XboxOne : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.XboxOne;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.XboxOne;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Linux : Platform
|
class Linux : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.LinuxX64;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.LinuxX64;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PS4 : Platform
|
class PS4 : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.PS4;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.PS4;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class XboxScarlett : Platform
|
class XboxScarlett : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.XboxScarlett;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.XboxScarlett;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Android : Platform
|
class Android : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.AndroidARM64;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.AndroidARM64;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Switch : Platform
|
class Switch : Platform
|
||||||
{
|
{
|
||||||
protected override BuildPlatform BuildPlatform => BuildPlatform.Switch;
|
protected override BuildPlatform BuildPlatform => BuildPlatform.Switch;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Editor : CustomEditor
|
class Editor : CustomEditor
|
||||||
{
|
{
|
||||||
private PlatformType _platform;
|
private PlatformType _platform;
|
||||||
private Button _buildButton;
|
private Button _buildButton;
|
||||||
|
|||||||
Reference in New Issue
Block a user