Remove systematic "Init(i)alization here" from _ready()

This commit is contained in:
Rémi Verschelde
2015-11-21 16:21:12 +01:00
parent d6642f26ca
commit eb167ebcaa
39 changed files with 0 additions and 39 deletions

View File

@@ -61,7 +61,6 @@ func _process(delta):
func _ready():
# Initalization here
screen_size = get_viewport_rect().size # Get actual size
pad_size = get_node("left").get_texture().get_size()
set_process(true)

View File

@@ -3,6 +3,5 @@ extends Spatial
func _ready():
# Initalization here
var tex = get_node("Viewport").get_render_target_texture()
get_node("Quad").get_material_override().set_texture(FixedMaterial.PARAM_DIFFUSE, tex)