Add Collide System
- Fix AssetRef unload leak
This commit is contained in:
1 parent
3ec9bcd152
commit
76bda0ace4
16 files changed
+280
-137
No files matched your search
Whitespace-only changes.
@@ -1,5 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#define CP_SIGNAL_DECLERATION_DEFINITION() \
|
||||
static int GetIdStatic() \
|
||||
{ \
|
||||
static int id = GetAllocatedId(); \
|
||||
return id; \
|
||||
} \
|
||||
\
|
||||
int GetId() const \
|
||||
{ \
|
||||
return GetIdStatic(); \
|
||||
}
|
||||
|
||||
#define CP_SIGNAL_DECLERATION(SignalClass) \
|
||||
static int GetIdStatic(); \
|
||||
int GetId() const override
|
||||
|
||||
Reference in new issue
Block a user