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
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