diff options
| author | Juan Linietsky | 2015-06-22 00:03:19 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-06-22 00:04:15 -0300 |
| commit | e9bbb97acccc08ae03fde41e4cc6d2dc6722021a (patch) | |
| tree | 008459da8cb1c9343919e67482700e5704e0d1e6 /core/resource.h | |
| parent | 37af8b413674936518a2ebe180f9e7bfcd5795bb (diff) | |
| download | godot-e9bbb97acccc08ae03fde41e4cc6d2dc6722021a.tar.gz godot-e9bbb97acccc08ae03fde41e4cc6d2dc6722021a.tar.zst godot-e9bbb97acccc08ae03fde41e4cc6d2dc6722021a.zip | |
Diffstat (limited to 'core/resource.h')
| -rw-r--r-- | core/resource.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/resource.h b/core/resource.h index cf7ffcbd2..9d9c445e1 100644 --- a/core/resource.h +++ b/core/resource.h @@ -99,6 +99,7 @@ friend class ResourceCache; String name; String path_cache; + int subindex; virtual bool _use_builtin_script() const { return true; } @@ -132,6 +133,9 @@ public: void set_path(const String& p_path,bool p_take_over=false); String get_path() const; + void set_subindex(int p_sub_index); + int get_subindex() const; + Ref<Resource> duplicate(bool p_subresources=false); void set_import_metadata(const Ref<ResourceImportMetadata>& p_metadata); |
