Skip to content

Commit ecdfcf8

Browse files
committed
Consolidate C# related scripting documentation under one section
1 parent 476356d commit ecdfcf8

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

manual/editor/flax-build/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ This documentation section covers most of the topics related to Flax.Build tool.
2525
* [API tags](api-tags.md)
2626
* [Build Plugin](plugins.md)
2727
* [Build Tool Guide](guide.md)
28-
* [Nuget Packages](nuget-packages.md)
2928

3029
## Build Scripts
3130

manual/scripting/csharp/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# C# Scripting
2+
3+
Visit **[C# API Reference](../../../api-csharp/index.md)** to learn about scripting types.
4+
5+
## In this section
6+
7+
* [Nuget Packages](nuget-packages.md)
8+
* [Restrictions](restrictions.md)
9+
10+
## How to create C# script?
11+
12+
C# scripting is enabled by default in [Flax Project modules](../../editor/flax-build/index.md), so C# scripts can be added without any further setup. In the *Content Window*, go to your project's module source folder `Source/<module_name>` and *right-click* to add **C# Script** in the module.
File renamed without changes.
File renamed without changes.

manual/scripting/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ To start visual scripting see the related documentation [here](visual/index.md).
5959
* [Custom script editor](tutorials/custom-editor.md)
6060
* [Attributes](custom-editors/attributes.md)
6161
* [Preprocessor variables](preprocessor.md)
62-
* [Scripting restrictions](restrictions.md)
62+
* [C# Scripting](csharp/index.md)
63+
* [Nuget Packages](csharp/nuget-packages.md)
64+
* [Scripting Restrictions](csharp/restrictions.md)
6365
* [C++ Scripting](cpp/index.md)
6466
* [Common Types](cpp/common-types.md)
6567
* [Collections](cpp/collections.md)

manual/toc.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
### [API Tags](editor/flax-build/api-tags.md)
6161
### [Plugins](editor/flax-build/plugins.md)
6262
### [Guide](editor/flax-build/guide.md)
63-
### [Nuget Packages](editor/flax-build/nuget-packages.md)
6463
## [Editor Options](editor/options/index.md)
6564
## [Profiling](editor/profiling/index.md)
6665
### [Profiler](editor/profiling/profiler.md)
@@ -188,7 +187,9 @@
188187
### [Custom script editor](scripting/tutorials/custom-editor.md)
189188
### [Attributes](scripting/custom-editors/attributes.md)
190189
## [Preprocessor variables](scripting/preprocessor.md)
191-
## [Scripting restrictions](scripting/restrictions.md)
190+
## [C# Scripting](scripting/charp/index.md)
191+
### [Nuget Packages](scripting/csharp/nuget-packages.md)
192+
### [Scripting Restrictions](scripting/csharp/restrictions.md)
192193
## [C++ Scripting](scripting/cpp/index.md)
193194
### [Common Types](scripting/cpp/common-types.md)
194195
### [Collections](scripting/cpp/collections.md)

0 commit comments

Comments
 (0)