October 2017
Intermediate to advanced
548 pages
13h 23m
English
If this is a new scene, we need to add GameController, as follows:
We will spawn new pictures at the target image origin, so modify the CreateNewPicture function as follows:
File: GameController.cs public Transform imageTarget;
public void CreateNewPicture() {
GameObject newPicture = Instantiate(defaultPictureObject, imageTarget);
}
Read now
Unlock full access