otherworldly_simulation/scene/test/run_condition.gd
2024-10-25 15:41:39 +08:00

10 lines
181 B
GDScript

extends ConditionLeaf
func tick(actor:Node,black_board:Blackboard):
#如果有设置目标地点
if black_board.has_value("run_pos"):
return SUCCESS
else:
return FAILURE