Removing autosave plugin
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
[plugin]
|
|
||||||
|
|
||||||
name="autosave_g4"
|
|
||||||
description="a plugin to run auto save every minute"
|
|
||||||
author="babypandabear3"
|
|
||||||
version=""
|
|
||||||
script="plugin.gd"
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
@tool
|
|
||||||
extends EditorPlugin
|
|
||||||
|
|
||||||
var timer : float = 0.0
|
|
||||||
var timeout : float = 60.0
|
|
||||||
|
|
||||||
func _enter_tree():
|
|
||||||
# Initialization of the plugin goes here.
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
func _exit_tree():
|
|
||||||
# Clean-up of the plugin goes here.
|
|
||||||
pass
|
|
||||||
|
|
||||||
func _physics_process(delta):
|
|
||||||
timer += delta
|
|
||||||
if timer > timeout:
|
|
||||||
timer -= timeout
|
|
||||||
EditorInterface.save_all_scenes()
|
|
||||||
print("Autosaved")
|
|
||||||
Reference in New Issue
Block a user