Initialize class variables with default values in scene/ [1/2]

This commit is contained in:
Rafał Mikrut 2021-02-07 22:29:31 +01:00
parent 57e2822a05
commit 003bb8e1a8
139 changed files with 871 additions and 1652 deletions

View file

@ -50,16 +50,16 @@ private:
Ref<Texture2D> texture_pressed;
Ref<BitMap> bitmask;
Ref<Shape2D> shape;
bool shape_centered;
bool shape_visible;
bool shape_centered = true;
bool shape_visible = true;
Ref<RectangleShape2D> unit_rect;
StringName action;
bool passby_press;
int finger_pressed;
bool passby_press = false;
int finger_pressed = -1;
VisibilityMode visibility;
VisibilityMode visibility = VISIBILITY_ALWAYS;
void _input(const Ref<InputEvent> &p_event);