S
S
Slavik Oleksiuk2017-02-21 23:45:18
Android
Slavik Oleksiuk, 2017-02-21 23:45:18

How to solve the problem in the game?

Hello everyone, I've encountered a problem while developing the game.
I downloaded the animated skeleton model, and applied a script to it so that it would give +1 point (instead of coins) when it collided with a car.
But I can not select the text where he will add it. When I drag an object into the scene and add it to it, I can, but not in the imported one.
Help me please.
c3d1fc73d789450093ffa8d528ec5ea6.jpgb932c56c89954c04bc326aac33bcaebc.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Demigodd, 2017-02-22
@my_england_id

prntscr.com/ebvg8w
These are the scripts, remake them for yourself.
prntscr.com/ebvh42
Throw ScoreManager on UI text.
prntscr.com/ebvhnq
and CoinPickup on the object that will collide and there in if (other.GetComponent <here write your script that will be attached to the main character>).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question