From 3af0a9faa268c8237b629002ac823e950e378634 Mon Sep 17 00:00:00 2001 From: Timothy Ng Date: Thu, 24 Mar 2016 21:15:26 -0400 Subject: [PATCH] Command List now displays line numbers --- Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs | 4 ++-- Assets/Tests/TestAssets/Animation.meta | 9 --------- ProjectSettings/ProjectVersion.txt | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 Assets/Tests/TestAssets/Animation.meta diff --git a/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs b/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs index 39217fe6..79f3a57d 100644 --- a/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs +++ b/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs @@ -389,11 +389,11 @@ namespace Fungus if (isComment) { - GUI.Label(commandLabelRect, "", commandLabelStyle); + GUI.Label(commandLabelRect, command.commandIndex + ": ", commandLabelStyle); } else { - GUI.Label(commandLabelRect, commandName, commandLabelStyle); + GUI.Label(commandLabelRect, command.commandIndex + ": " + commandName, commandLabelStyle); } if (command.executingIconTimer > Time.realtimeSinceStartup) diff --git a/Assets/Tests/TestAssets/Animation.meta b/Assets/Tests/TestAssets/Animation.meta deleted file mode 100644 index 3fd2cc3b..00000000 --- a/Assets/Tests/TestAssets/Animation.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: f5528a125b1c64ce4b4ad7ae57de4989 -folderAsset: yes -timeCreated: 1458814143 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt index c4684cd5..bb60c067 100644 --- a/ProjectSettings/ProjectVersion.txt +++ b/ProjectSettings/ProjectVersion.txt @@ -1,2 +1,2 @@ -m_EditorVersion: 5.3.4f1 +m_EditorVersion: 5.3.2f1 m_StandardAssetsVersion: 0