Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:how_to_create_new_buildings [2022/07/25 13:08] – admin | wiki:how_to_create_new_buildings [2022/07/27 16:48] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | --- // | ||
| ====== 1 - Pick Building GameObject ====== | ====== 1 - Pick Building GameObject ====== | ||
| {{: | {{: | ||
| Line 4: | Line 5: | ||
| You can use any game object, import it from OBJ, FBX or create it your own! I suggest your create it using UModeler!. | You can use any game object, import it from OBJ, FBX or create it your own! I suggest your create it using UModeler!. | ||
| - | ====== 2 - Create new ScriptableObject ====== | + | ====== 2 - Pick ScriptableObject ====== |
| :!: This scriptable object is used for determine the information | :!: This scriptable object is used for determine the information | ||
| Go to Folder < | Go to Folder < | ||
| - | Create new scriptable object < | + | Pick scriptable object |
| + | |||
| + | :!: Create your own scriptableObject if it's not exist | ||
| + | < | ||
| + | '' | ||
| + | Drag new created ScriptableObject into SearchSystemController (Canvas > Building_List) List | ||
| + | </ | ||
| Now you can fill up Scriptable Object Information! | Now you can fill up Scriptable Object Information! | ||
| Line 33: | Line 40: | ||
| </ | </ | ||
| ====== 3 - Apply building interact script ====== | ====== 3 - Apply building interact script ====== | ||
| - | Drag BuildingInteract Scrip into your gameObject | + | Drag BuildingInteract Scrip into your BUILDING |
| * Setup Input Field ( For Search ) | * Setup Input Field ( For Search ) | ||
| * Setup Holo Material | * Setup Holo Material | ||
| Line 68: | Line 75: | ||
| </ | </ | ||
| + | ====== 3 - Set Building GameObject Layer = Building ====== | ||
| + | {{ : | ||
| + | ====== 4 - Good To Go! ====== | ||
| + | {{ : | ||