Step 5 - Disable Manager
Add the Disable Manager
Add the "AK_DisableManager" from the prefabs folder or the "Adventure_Kit_Managers" pack to add all to the hierarchy. You can add the "AK_DisableManager" script to an empty gameobject if you want to start fresh
Referencing the Disable Manager
Basic setup for the Disable Manager
REMEMBER: This suggestions for the FPSController and/or ThirdPerson Controller parts for disabling found within this disable manager ARE ONLY EXAMPLES of how to do it or if you're using the Unity Standard Assets controllers, if you're using one of your own. It will need editing. Email me if you have any issues at all!
First Person Variables
IsFirstPerson
Tick this box if you're using an FPSController of some sort
Player
Add the "FPSController" gameobject to this slot
Third Person Variables
IsThirdPerson
Tick this box if you're using a ThirdPersonController
ThirdPersonController
Add the "ThirdPersonController" gameobject to this slot
ThirdPersonRotator
Add the "Simple Mouse Rotator" by adding the Main Camera to this slot
Generic Variables
Crosshair
Add the "CrosshairUI" image from the "Crosshair_Canvas"
Raycast Manager
Add the "AdventureKitRaycast" by adding the Main Camera to this slot
Blur
Add the "BlurOptimized" by adding the Main Camera to this slot
Code Snippet Example:
Last updated
Was this helpful?