YarnSaliencyStrategy.YarnRandomBestLeastRecentlyViewedSaliencyStrategy
Returns a random choice from the best of the least-recently viewed items. This is the default strategy.
class YarnRandomBestLeastRecentlyViewedSaliencyStrategy extends YarnSaliencyStrategyInherits from YarnSaliencyStrategy
#Methods
#on_candidate_selected(Dictionary, Dictionary)
func on_candidate_selected(candidate: Dictionary, context: Dictionary) -> voidParameters
candidateDictionarycontextDictionary
#select_candidate(Array[Dictionary], Dictionary)
func select_candidate(candidates: Array[Dictionary], context: Dictionary) -> intParameters
candidatesArray[Dictionary]contextDictionary
Returns int
Generated from Yarn Spinner for Godot GDScript 3.3.