11,000 種類を超える 5 つ星アセット

8.5 万人以上の顧客による評価

10 万人を超えるフォーラムメンバーが支持

すべてのアセットを Unity が審査済み

ホーム
ツール
入出力管理
このコンテンツはサードパーティのプロバイダーによってホストされており、ターゲティングクッキーを使用することに同意しない限り動画の視聴が許可されません。これらのプロバイダーの動画の視聴を希望する場合は、ターゲティングクッキーのクッキーの設定をオンにしてください。
1/7
Provides a simple way to define and execute console commands, supports shell variables that can hold values and be set through the console. Comes with UI panel controller & UI tab panel controllers.
SRP との互換性
Unity のスクリプタブルレンダーパイプライン(SRP)は、C# スクリプトを使用してレンダリングを制御できる機能です。SRP は、ユニバーサルレンダーパイプライン(URP)と HD レンダーパイプライン(HDRP)を支えるテクノロジーです。
Unity のバージョンビルトインURPHDRP
2020.3.30f1
互換性がある
互換性がある
互換性がある
互換性に関する追加情報

Fully compatible with all render pipelines.

詳細

A powerful, flexible, and easy-to-use console command system for Unity Engine. This system provides the user with an easy attribute-driven way to define new console commands. The console command system also supports shell variables, named variables that can have their values modified through the command shell/console. Examples are included.


This asset also comes with a fully-functional demo project and UI panel/tab panel controllers that are used to demonstrate the command shell although users can implement a custom UI interface for the console if they choose.


Want to give players in your game an easy way to customize their experience? The provided shell variable system allows you to create console-defined settings that the user can modify by simply executing a corresponding console command.


Sick of having to implement time-consuming menus or change things in your scene for testing? Use this asset to create developer console commands that speed up testing to help reduce overall development time in your project.


Features:

  • Easily register console commands using attributes or at runtime.
  • Register shell variables using attributes allowing you to enable users to easily modify game settings through the use of shell variables.
  • Decoupled UI & Command System lets you either use the built-in console panel or build your own.
  • Powerful public API that can be used to add, modify, or remove commands & shell variables even at runtime.
  • Documentation & API Reference included in package.
  • Well-documented code.
  • Console panel source code can be modified to your liking/needs or left as-is.
  • Powerful string tokenizer to detect arguments in a user's command.

FAQ

Q: Can I store a non-string value in a shell variable?

A: No, simply put a shell variable can only store a string value as they are set through the console and therefore the value inputted by the user is a string. However, the CommandArgument type provides several accessors for returning the string value as another type such as: CommandArgument.IntValue, CommandArgument.FloatValue, CommandArgument.BoolValue, and more... see the API reference relating to CommandArgument for more information.


Q: Can a shell variable contain spaces?

A: Yes! This asset comes with a powerful string tokenizer that looks for both single and double quotations to group text into a single argument. The '\' character is used as an 'escape' character to allow grouped text to contain quotations.

  • e.g: my_command "|"This is one argument\"" would have pArgument[0] == "|"This is one argument|""

Q: How do I get the value of a shell variable?

A: CommandShell.GetVariable("name") returns a CommandArgument that holds the value of the variable, or an empty string if no valid variable is found. See API reference for more information.


Quick Reference:

  • Documentation
  • API Reference
  • To set the value of a shell variable simply type the name followed by the value in the console. (e.g: myshellvariable "my shell variable's value!")
  • See screenshots at the top of the page for some code quick-references, the source code for the sample commands and shell variables is included in the package when downloaded.

Other Assets:

Editor Physics Simulator - Simulate and record physics in the editor.

Editor Animation Freezer - Freeze Animators at a specific frame in an animation.


Email any questions, bug reports, help requests, or other inquiries to intuitivegamingsolutions@gmail.com.

技術的な詳細
  • Fully compatible with both the legacy and new input system.
  • No rendering is done by this package and therefore it is compatible with both render pipelines.
  • Public C# API can be used to manually invoke console commands or create, modify, remove commands or shell variables at runtime.

Console Commands & UI Panels

(評価数が不足しています)
2 users have favourite this asset
(2)
$15
シート
1
更新された価格と消費税/VAT はチェックアウト時に計算
払い戻しポリシー
このアセットは Unity アセットストアの払い戻しポリシーの対象です。詳細については、EULA のセクション 2.9.3 を参照してください。
以下で安全にチェックアウト:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
ライセンス
ファイルサイズ
346.5 KB
最新バージョン
1.0
最新リリース日
2022年6月3日
オリジナルの Unity バージョン
2020.3.30
高品質なアセット
11,000 種類を超える 5 つ星アセット
信頼がある
8.5 万人以上の顧客による評価
コミュニティが支持
10 万人以上のフォーラムメンバーが支持
Unity logo
言語選択
フィードバック
パートナープログラム
パートナー
USD
EUR
Copyright © 2025 Unity Technologies
全ての表示価格には消費税は含まれていません
USD
EUR