| | 1 | | // Copyright (c) 2020-2022 dotBunny Inc. |
| | 2 | | // dotBunny licenses this file to you under the BSL-1.0 license. |
| | 3 | | // See the LICENSE file in the project root for more information. |
| | 4 | |
|
| | 5 | | using UnityEngine; |
| | 6 | |
|
| | 7 | | namespace GDX.Developer.ConsoleCommands |
| | 8 | | { |
| | 9 | | #if UNITY_2022_2_OR_NEWER |
| | 10 | | public class VersionConsoleCommand : ConsoleCommandBase |
| | 11 | | { |
| | 12 | | /// <inheritdoc /> |
| | 13 | | public override bool Evaluate(float deltaTime) |
| 0 | 14 | | { |
| 0 | 15 | | Debug.Log("TODO: Version Information"); |
| 0 | 16 | | return true; |
| 0 | 17 | | } |
| | 18 | |
|
| | 19 | | /// <inheritdoc /> |
| | 20 | | public override Console.ConsoleAccessLevel GetAccessLevel() |
| 0 | 21 | | { |
| 0 | 22 | | return Console.ConsoleAccessLevel.Anonymous; |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | public override string GetKeyword() |
| 7 | 26 | | { |
| 7 | 27 | | return "version"; |
| 7 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <inheritdoc /> |
| | 31 | | public override string GetHelpMessage() |
| 0 | 32 | | { |
| 0 | 33 | | return "Display all versions of assemblies and libraries used by the project."; |
| 0 | 34 | | } |
| | 35 | | } |
| | 36 | | #endif // UNITY_2022_2_OR_NEWER |
| | 37 | | } |