void OnDrawGizmos() { if (!toggleDebug) { return; } _transform.rotation = grid.Angle2Rotation(angle, angleMode); }