◆ AddEncounterTrackable()
static EncounterTrackable Semi.PickupObjectTreeBuilder.AddEncounterTrackable |
( |
GameObject |
go, |
|
|
JournalEntry |
journal_entry, |
|
|
string |
enc_guid |
|
) |
| |
|
inlinestatic |
Creates a new EncounterTrackable
.
- Returns
- The new encounter trackable.
- Parameters
-
go | Target game object. |
journal_entry | Journal entry object. |
enc_guid | Unique encounter ID. |
◆ AddPickupObject< T >()
static T Semi.PickupObjectTreeBuilder.AddPickupObject< T > |
( |
GameObject |
go | ) |
|
|
inlinestatic |
Creates a new PickupObject
.
- Returns
- The new pickup object.
- Parameters
-
- Template Parameters
-
T | Item type (descendant from PickupObject ). |
◆ AddSprite()
static Sprite Semi.PickupObjectTreeBuilder.AddSprite |
( |
GameObject |
go, |
|
|
Sprite |
base_sprite |
|
) |
| |
|
inlinestatic |
Adds a copy of a sprite to a game object.
- Returns
- The new sprite.
- Parameters
-
go | Target game object. |
base_sprite | Sprite to copy. |
◆ CreateEncounterDatabaseEntry()
static EncounterDatabaseEntry Semi.PickupObjectTreeBuilder.CreateEncounterDatabaseEntry |
( |
EncounterTrackable |
enc_track, |
|
|
string |
path |
|
) |
| |
|
inlinestatic |
Creates a new EncounterDatabaseEntry
.
- Returns
- The new encounter database entry.
- Parameters
-
enc_track | Encounter trackable object. |
path | String to set as the asset path. |
◆ CreateJournalEntry()
static JournalEntry Semi.PickupObjectTreeBuilder.CreateJournalEntry |
( |
string |
name_key, |
|
|
string |
long_desc_key, |
|
|
string |
short_desc_key, |
|
|
string |
enc_icon_name |
|
) |
| |
|
inlinestatic |
Creates a new JournalEntry
.
- Returns
- The new journal entry.
- Parameters
-
name_key | Global ID of the localization key for the Ammmonomicon name. |
long_desc_key | Global ID of the localization key for the Ammmonomicon long description. |
short_desc_key | Global ID of the localization key for the Ammmonomicon short description. |
enc_icon_name | Global ID of the encounter icon for this journal entry. |
◆ GetNewBarrel()
static GameObject Semi.PickupObjectTreeBuilder.GetNewBarrel |
( |
| ) |
|
|
inlinestatic |
Creates a new Semi.FakePrefab of a barrel offset object.
- Returns
- The new barrel offset object.
◆ GetNewInactiveObject()
static GameObject Semi.PickupObjectTreeBuilder.GetNewInactiveObject |
( |
string |
name | ) |
|
|
inlinestatic |
Creates a new Semi.FakePrefab already containing certain components that need to be cloned from another item prefab.
- Returns
- The new game object.
- Parameters
-
name | Name of the new object. |
The documentation for this class was generated from the following file:
- Semi/src/TreeBuilders/PickupObjectTreeBuilder.cs