You are on page 1of 10

PREFABDS FOLDER

To copy character and change it with others script.

In the project.

Right click. Select create folder named as PREFABS (folder)


Select character in GameScene* ( inside red triangle).

Drag the character file into the Prefabs


Put in Prefabs file.

TO ADD COMPONENT IN CHARACTER

Select character to add component.


For this is scripting for character.
Select add component - new script add

Create new folder in GameScene*.

Named as Scripts (In folder) put the script into Script Folder.

MONO DEVELOP

Double-click on CharacterScript. The Mono Develop will pop-up.


If the ( X ) marks appear in assembly Csharp. Close the mono develop back and
re-open back by double click on gamescene ( CharacterScript ).

( EXAMPLE of THE IMAGE. )

INSIDE SCRIPT.
Use is a default behaviour
Update - is when to update the script

Just type any script that u want. For example ANIMATOR animator; .
To add script animator.

After finish with the coding.

That show if file is not save it will become round, if file been saved will will
appear X marks.

Done build in unity. Congratulation!!!


Apply in Unity.

Drag GameManager ( in Project ) into GameScene.

APPLY IN OTHER CHARACTER.

Select other character to apply CharacterScript.


Add component to the character. Select CharacterScript. And apply with
Bismillah!!..hahahah

TO APPLY CHARACTER WITH CHARACTERISTIC OPTION.

Select gameManager ( below image)


Click in (/) in the dialog to apply DialogueManager, QuizManager,ResultManager

Select character list.


- Apply character in every element.
*Drag and Drop from GameScene only.

- Fill up each element in Character List.

You might also like