You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I move flowcharts from one scene to the other or copypaste commands or whatever, I notice that the number on the command doesnt start over. ie if i move a flowchart to a new scene, the first command on it doesnt become number (1), it retains its command count.
Does this ever cause a problem? Would it be a good idea to write a little extension to the flowchart script so that I could refresh these numbers with the click of a button?
The text was updated successfully, but these errors were encountered:
This isn't intended, but I don't think this will cause a problem. Those id's primarily serve to identify each component (block, command, etc) That would be problematic, but the flowchart also checks those id's on enable. Check Flowchart.OnEnable(). You'll see Flowchart.CheckItemIds(). That check looks through each command and makes sure a) the id's are all unique. b) they're in incrementing order. Since the flowchart does this when it's enabled, before any executions are performed, I think it will be a cosmetic problem at most since it's mostly used by editor functions rather than runtime functions.
We've since talked about this on the Discord server and I just wanted to update this issue by saying that now I understand what these are for along with itemIDs, and that I decided to hide that label instead, since seeing this number is not useful to me, by commenting out the following in the CommandEditor.cs: GUILayout.Label(new GUIContent("(" + t.ItemId + ")"));
I'll leave this issue open just in case someone else has some input on it, or if it causes some problem later.
If I move flowcharts from one scene to the other or copypaste commands or whatever, I notice that the number on the command doesnt start over. ie if i move a flowchart to a new scene, the first command on it doesnt become number (1), it retains its command count.
Does this ever cause a problem? Would it be a good idea to write a little extension to the flowchart script so that I could refresh these numbers with the click of a button?
The text was updated successfully, but these errors were encountered: