ManiaMap.Unity
Procedural generation of metroidvania style maps for Unity.
CollectableResource Class Reference

An object representing a collectable with a unique ID. More...

Inheritance diagram for CollectableResource:

Protected Member Functions

virtual void OnValidate ()
 

Properties

bool EditId [getset]
 If true, the ID can be edited in the inspector. More...
 
int Id [getset]
 The unique ID. More...
 

Private Attributes

bool _editId
 
int _id = -1
 

Detailed Description

An object representing a collectable with a unique ID.

Definition at line 9 of file CollectableResource.cs.

Member Function Documentation

◆ OnValidate()

virtual void OnValidate ( )
protectedvirtual

Definition at line 25 of file CollectableResource.cs.

Member Data Documentation

◆ _editId

bool _editId
private

Definition at line 12 of file CollectableResource.cs.

◆ _id

int _id = -1
private

Definition at line 19 of file CollectableResource.cs.

Property Documentation

◆ EditId

bool EditId
getset

If true, the ID can be edited in the inspector.

Definition at line 16 of file CollectableResource.cs.

◆ Id

int Id
getset

The unique ID.

Definition at line 23 of file CollectableResource.cs.


The documentation for this class was generated from the following file: