Custom sequnce command using GetSubject could not find a Tag transform which is inactive
Posted: Fri Sep 25, 2020 6:08 am
Hi Tony,I found custom sequence command using GetSubject could not find a Tag transform which is inactive.It would got null.But using native sequence such like SetActive,It could use.
for example,I use MySequence(tag=XXX);and the transform named scene_XXX is inactive now,so I use GetSubject(0) would get Null.but If I use MySequence(scene_XXX); GetSubject(0) would get the transform.
So is it normal to get null when I use tag in the transform which is inactive?
for example,I use MySequence(tag=XXX);and the transform named scene_XXX is inactive now,so I use GetSubject(0) would get Null.but If I use MySequence(scene_XXX); GetSubject(0) would get the transform.
So is it normal to get null when I use tag in the transform which is inactive?