#roblox to unity migration

1 messages · Page 1 of 1 (latest)

unkempt mist
#

i've got roblox studio open now, i'll try and talk you through it @naive briar

naive briar
#

sry but i gtg now

unkempt mist
#

so, in RS this thing here

#

is the same as this

naive briar
#

yea i got that

unkempt mist
naive briar
#

alr

naive briar
#

im back

#

so.. I got some questions

#

What's the difference between GameObject and Transform and what exactly they return as value

#

actually my only doubt is this for now ig

unkempt mist
#

when coding though, they're relatively interchangable

#

you can reference the gameObject through the transform and vice-versa

naive briar
#

got it

#

if I use GameObject.Find and put a GameObject or Transform variable, will it recognize it by the name or it would glitch?

unkempt mist
#

i dont think that will work

naive briar
#
GameObject.Find(aaaa)
#

like that

unkempt mist
#

yeah that wont work

naive briar
unkempt mist
#

so to explain, if you already have aaaa then there's no reason to find aaaa

#

its sort of like trying to ask for something that you're currently holding lol

naive briar
#

oh yea ur right, im rlly dumb

unkempt mist
#

all good, we all make common errors

#

what exactly are you using GameObject.Find for anyway? just messing around or do you have a specific purpose

naive briar
#

I was trying to fix a system I was making to play a music when you enter an area

#

but i've alr solved it