Question by
iKazanova · Jul 02, 2017 at 01:08 PM ·
scripting problemobject
How to assign script to object?
Hello Unity people,
so the thing is I can`t assign a script to a player when I play going to be spawned in a spawn point. It not exists in Hierarchy.
Script (I want to assign) > game starts > Spawnpoint1 (which spawns a player who has script that requires script)
Comment
$$anonymous$$ake sure the player is a prefab that contains the script. Instantiating the prefab will take all its components aswel.
Your answer
Follow this Question
Related Questions
scripting problems please help 0 Answers
Hey Guys How to make a script 'private Transform Waypoint;, 0 Answers
How to make a ladder script 0 Answers
Add object using other scene,Change something in scene from the menu 2 Answers
How to define the forward direction of an object made in blender 1 Answer