UE4 Chinese New Year Firecrackers

Make a base class first, a firecracker

Make a firecracker class, save multiple firecrackers

Generate the corresponding number of firecrackers at the position of the constructor

Tie the firecrackers to the rope and swing with the rope

Write the explosion event in the base class

Finally use Timer to call

Guess you like

Origin blog.csdn.net/qqQQqsadfj/article/details/132652701