Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Can I "spawn" a prefab in a random location without attaching the script to an object?

$
0
0
Can I spawn a prefab in a random location by having a script that is not a component of an object? Can scripts be run without being connected to an object? And, can I specify an x, y position for this prefab? Note that I am using Unity 5.51 with JavaScript, NOT C#

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>