You're breathtaking!
This commit is contained in:
25
Source/Editor/Content/Items/CSharpScriptItem.cs
Normal file
25
Source/Editor/Content/Items/CSharpScriptItem.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
|
||||
|
||||
using FlaxEngine;
|
||||
|
||||
namespace FlaxEditor.Content
|
||||
{
|
||||
/// <summary>
|
||||
/// Content item that contains C# script file with source code.
|
||||
/// </summary>
|
||||
/// <seealso cref="FlaxEditor.Content.ScriptItem" />
|
||||
public class CSharpScriptItem : ScriptItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CSharpScriptItem"/> class.
|
||||
/// </summary>
|
||||
/// <param name="path">The path to the item.</param>
|
||||
public CSharpScriptItem(string path)
|
||||
: base(path)
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override SpriteHandle DefaultThumbnail => Editor.Instance.Icons.CSharpScript64;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user