Log in or register to post comments

load Database and Target dynamically

February 23, 2017 - 8:37pm #1

hi i'm newbie in Unity and Vuforia.

i'd like to load Database and Target dynamically.



in Vuforia samples,it have to do follow.



1.make Database and Target(on website)

2.download as Unity package(on website)

3.import that package(on Unity)

4.set up & Build.(Unity)



but i'd like to this



1.make Database and Target(on website)

2.load Database and Target to ImageTarget(on script)

3.set Video.VideoPlaybackBehaviour.Path(on script)

4.it provide new AR with no APP update.





i have tried this script



void Start () {

GameObject ImageTargetStones = GameObject.Find("ImageTargetStones");

ImageTargetBehaviour ItbObj = ImageTargetStones.GetComponent(); //i can get object

ItbObj.Database = "MyDatabase" //error here.i can't access Database parameter...

}



is there any advice?

any help will be appreciated!

thanks.

Log in or register to post comments