Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <typename T> class Handle
- {
- public:
- UInt ID;
- public:
- T* Resource() { return Resource::Get<T>(ID); }
- T* operator -> () { return Resource(); }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement