Skip to content

work as I want ! but perfomance is not very good,it takes 1 or 2 seconds to parse 1 prefab file #40

@Ribosome2

Description

@Ribosome2

here is how I test :

def checkParticleSystem(prefabPath):
doc = UnityDocument.load_yaml(prefabPath)
entries = doc.filter(class_names=('ParticleSystemRenderer',))
for entry in entries:
if entry.m_RenderMode == BILL_BOARD_RENDER_MODE:
dd=1

it'a as slow as using Unity API to manipulate prefab files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions