fixed camera and sword animation issue and upgraded to Godot 4.6
This commit is contained in:
@@ -16,6 +16,7 @@ enum {
|
||||
var _type :int
|
||||
var _line_number :int
|
||||
var _message :String
|
||||
var _current_value: Variant
|
||||
|
||||
|
||||
func create(p_type :int, p_line_number :int, p_message :String) -> GdUnitReport:
|
||||
@@ -25,6 +26,11 @@ func create(p_type :int, p_line_number :int, p_message :String) -> GdUnitReport:
|
||||
return self
|
||||
|
||||
|
||||
func with_current_value(value: Variant) -> GdUnitReport:
|
||||
_current_value = value
|
||||
return self
|
||||
|
||||
|
||||
func type() -> int:
|
||||
return _type
|
||||
|
||||
@@ -53,6 +59,10 @@ func is_error() -> bool:
|
||||
return _type == TERMINATED or _type == INTERUPTED or _type == ABORT
|
||||
|
||||
|
||||
func is_orphan() -> bool:
|
||||
return _type == ORPHAN
|
||||
|
||||
|
||||
func _to_string() -> String:
|
||||
if _line_number == -1:
|
||||
return "[color=green]line [/color][color=aqua]<n/a>:[/color] %s" % [_message]
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://cq37movmiy3l1
|
||||
uid://cioqb50hlf4bs
|
||||
|
||||
Reference in New Issue
Block a user