#Video Player on repeat

1 messages · Page 1 of 1 (latest)

pliant perch
#

sorry I mean PlayOnAwake
whenever player hit collider

#

brb

analog salmon
#

that doesnt make sense, its either: you play on awake OR you play whenever player hit collider

#

oh you mean you do both?

#

what's your current code to play on hit ?

pliant perch
#

this is the code for the trigger

#

that will awake the videoplayer

analog salmon
#

ok so just put the two lines i gave you after your activation

#

don't forget to put the videoplayer as a variable you can drag & drop it

pliant perch
#

just like this ?

#

sorry I'm very2 new T_T

analog salmon
#

and don't forget the videoPlayer variable

pliant perch
#

public void PlayVideo()

analog salmon
#

well if you're lacking knowledge, i would recommend following some basic unity tutorials before doing anything on your own

pliant perch
#

I will I will

#

do you accept KoFi ?

analog salmon
#

whats that?

pliant perch
#

this is the videoplayer

pliant perch
analog salmon
#

ah ok, no its fine thanks