Forum Discussion

EchoExclusive's avatar
EchoExclusive
Start Partner
1 year ago
Solved

Attaching Scripts to Assets

Hi Creators! I am using Desktop Editor and Typescript. I am trying to spawn enemies, when the enemies spawn they will move around and look for the player, enemies can also get destroyed by bullets....
  • gausroth's avatar
    1 year ago

    If you want the script on the asset at spawn time. You will need to either create a copy of the asset with the script already attached or update the current asset after attaching the script. Let me see if I can get some screenshots.

    EDIT: If you right click on the asset, click on Edit Template Definition then you should be able to add the script and save the change.