![]() ![]() (This appears to be correct in your screenshot.) Then use the dropdown to select the FirstPersonController component's enabled property. ![]() ![]() Although I may have been inconsistent in previous posts, from now on I'll try to make sure to use "script" to refer to the script file in the Project view and "component" to refer to the instance of the script that's been added to a GameObject.ĭon't assign the FirstPersonController script to the Pause component's OnPause() and OnUnPause() events. Let's make sure we're talking about the same things. When you add a script to a GameObject, the instance of the script on the GameObject is called a component. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |