Automatically assigning variables in Unity3d -
i've made path finding utility works fine. each node has neighboring nodes assigned in builtin array, works smoothly. however, @ moment have assigned these neighboring nodes manually circuitous.
the solution want avoid:
1) -and know how to- assign these arrays @ function start()
, not able use fast buitlin arrays , starting game takes unnecessarily time.
the solution looking for:
2) assign builtin variables in 'bake-like-manner':
need run script outside game can interact game , assign variables script @ previous solution could, store variables , assign builtins.
i hope explained well.
if unclear i'd pleased clarify.
in advance!
Comments
Post a Comment