CharacterBody2D.

OnValidate() Method

Summary

[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.

Syntax

protected virtual void OnValidate()

Return Value

Type Description
void