Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
void | TurnOn () |
void | TurnOff () |
Public Attributes | |
bool | controlsObjectLayer = true |
Protected Member Functions | |
void | DrawGizmos () |
Provides functions to easily turn Collider components on and off, either through script or with the "Object: Send message" Action. This script is attached to AC's Collider prefabs.
void AC._Collision.TurnOff | ( | ) |
Disables 3D and 2D colliders attached to the GameObject, and places it on the Deactivated (Ignore Raycast) layer - allowing Hotspot raycasts to pass through it.
void AC._Collision.TurnOn | ( | ) |
bool AC._Collision.controlsObjectLayer = true |
If True, then this component will control the GameObject's layer when turned on and off