Initialize class variables with default values in scene/ [1/2]
This commit is contained in:
parent
57e2822a05
commit
003bb8e1a8
139 changed files with 871 additions and 1652 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue