public Unity_Object_GBARRR(GBARRR_Object obj, Unity_ObjectManager_GBARRR objManager) { Object = obj; ObjManager = objManager; // P_FunctionPointer is filled in later, can't do this check here /*if (actor.ObjectType == GBARRR_ActorType.Special && Actor.P_GraphicsOffset == 0 && !Enum.IsDefined(typeof(SpecialType_Function), (SpecialType_Function)actor.P_FunctionPointer)) * Debug.LogWarning($"Special type with function pointer 0x{actor.P_FunctionPointer:X8} is not defined at ({Actor.XPosition}, {Actor.YPosition})");*/ }
public Unity_Object_GBARRR(GBARRR_Actor actor, Unity_ObjectManager_GBARRR objManager) { Actor = actor; ObjManager = objManager; }