protected override object getExternalSound(string filepath) { var full_path = this.WorldDirectory + "/" + filepath; var f = new File(); if (!f.FileExists(full_path)) { return(null); } return(GDKnyttAssetManager.loadSound(full_path)); }
protected override object getSystemSound(string filepath) { return(GDKnyttAssetManager.loadSound("res://knytt/data/" + filepath)); }