rtxxx.gd 225 B

123456789101112
  1. extends MeshInstance
  2. func _ready():
  3. pass
  4. onready var post_p=get_tree().get_root().get_node("scene/main_screen")
  5. var ctime=0
  6. func _process(delta):
  7. self.material_override.set("shader_param/iTime",post_p.iTime-ctime)
  8. pass