Skip to content

Missing important classes + small bug #47

@itsRythem

Description

@itsRythem

Bug:

LayerMark is not a subclass of Object, it should be 4 bytes, not 24 (this causes a misalignment when using game structures)

Suggestion:

Add Material, Sprite, Shader, Texture and Texture2D classes.

Extra:
Unfortunately texture and texture2d functions exposed via il2cpp / mono, etc, may change. You can use their struct (doesnt seem to change throughout several unity versions from my testing) to get the native texture ptr, which if the game is using opengl / directx, can easily be casted to a texture object, and then rendered via your own framework / imgui.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions