mirror of https://github.com/axmolengine/axmol.git
Remove unused fileds from ax::Objec
This commit is contained in:
parent
33c328e910
commit
3ba2ef2d61
|
@ -48,8 +48,6 @@ Object::Object()
|
||||||
: _referenceCount(1) // when the Object is created, the reference count of it is 1
|
: _referenceCount(1) // when the Object is created, the reference count of it is 1
|
||||||
#if AX_ENABLE_SCRIPT_BINDING
|
#if AX_ENABLE_SCRIPT_BINDING
|
||||||
, _luaID(0)
|
, _luaID(0)
|
||||||
, _scriptObject(nullptr)
|
|
||||||
, _rooted(false)
|
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#if AX_ENABLE_SCRIPT_BINDING
|
#if AX_ENABLE_SCRIPT_BINDING
|
||||||
|
|
|
@ -145,13 +145,6 @@ public:
|
||||||
unsigned int _ID;
|
unsigned int _ID;
|
||||||
/// Lua reference id
|
/// Lua reference id
|
||||||
int _luaID;
|
int _luaID;
|
||||||
/// scriptObject, support for swift
|
|
||||||
void* _scriptObject;
|
|
||||||
|
|
||||||
/**
|
|
||||||
When true, it means that the object was already rooted.
|
|
||||||
*/
|
|
||||||
bool _rooted;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Memory leak diagnostic data (only included when AX_OBJECT_LEAK_DETECTION is defined and its value isn't zero)
|
// Memory leak diagnostic data (only included when AX_OBJECT_LEAK_DETECTION is defined and its value isn't zero)
|
||||||
|
|
Loading…
Reference in New Issue