diff --git a/Content/Editor/Scripting/CSharpEmptyTemplate.cs b/Content/Editor/Scripting/CSharpEmptyTemplate.cs index ea9626f7b..b221b83d9 100644 --- a/Content/Editor/Scripting/CSharpEmptyTemplate.cs +++ b/Content/Editor/Scripting/CSharpEmptyTemplate.cs @@ -3,4 +3,3 @@ using System.Collections.Generic; using FlaxEngine; namespace %namespace%; - diff --git a/Content/Editor/Scripting/CppAssetTemplate.h b/Content/Editor/Scripting/CppAssetTemplate.h index f6b1421dd..ad452bc62 100644 --- a/Content/Editor/Scripting/CppAssetTemplate.h +++ b/Content/Editor/Scripting/CppAssetTemplate.h @@ -13,10 +13,10 @@ API_CLASS() class %module%%class% : public ISerializable API_AUTO_SERIALIZATION(); DECLARE_SCRIPTING_TYPE_NO_SPAWN(%class%); public: - // Custom float value. + // Custom float value. API_FIELD(Attributes = "Range(0, 20), EditorOrder(0), EditorDisplay(\"Data\")") float FloatValue = 20.0f; - // Custom vector data. + // Custom vector data. API_FIELD(Attributes = "EditorOrder(1), EditorDisplay(\"Data\")") Vector3 Vector3Value = Vector3(0.1f); }; diff --git a/Content/Editor/Scripting/ShaderTemplate.shader b/Content/Editor/Scripting/ShaderTemplate.shader index 5e7034adc..869a32219 100644 --- a/Content/Editor/Scripting/ShaderTemplate.shader +++ b/Content/Editor/Scripting/ShaderTemplate.shader @@ -7,6 +7,6 @@ META_CB_END META_PS(true, FEATURE_LEVEL_ES2) float4 PS_Fullscreen(Quad_VS2PS input) : SV_Target { - // Solid color fill from the constant buffer passed from code - return Color; + // Solid color fill from the constant buffer passed from code + return Color; }