No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

todoItem_class.gd 291B

1234567891011121314
  1. tool
  2. extends Reference
  3. var script_path : String
  4. var todos : Array
  5. func get_short_path() -> String:
  6. var temp_array := script_path.rsplit('/', false, 1)
  7. var short_path : String
  8. if !temp_array[1]:
  9. short_path = "(!)" + temp_array[0]
  10. else:
  11. short_path = temp_array[1]
  12. return short_path