C# Class CameraCheckBoxOnEditor, PuzzleGameProject

Manage events associated to the checkbox on Map Editor.
Inheritance: MonoBehaviour
显示文件 Open project: Cedric-Paris/PuzzleGameProject

Public Properties

Property Type Description
cameraManaged Camera

Public Methods

Method Description
Start ( ) : void

Processing performed by Unity when an instance is created.

Private Methods

Method Description
OnToggleCheck ( ) : void

Called if the checkBox is checked. Disable adding of items and activates the "Camera Functions".

OnToggleUnCheck ( ) : void

Called if the checkBox is unchecked. Disable "Camera Functions" and activates adding of items.

Method Details

Start() public method

Processing performed by Unity when an instance is created.
public Start ( ) : void
return void

Property Details

cameraManaged public_oe property

The camera managed when the checkbox is checked.
public Camera cameraManaged
return Camera