S.A.P.S V0.4.0
A virtual reality stealth action game
 
Loading...
Searching...
No Matches
CharacterCreator Class Reference

Creates variation in character objects. More...

Inheritance diagram for CharacterCreator:

Public Member Functions

CharacterModel SpawnNPCModel (Transform parent)
 Creates a new character model with random features. Avoids looking like the target NPC.
 
CharacterModel SpawnTargetModel (Transform parent, int layer=0)
 Creates a new character model and only randomizes its features on the first call.Subsequent calls will instantiate a copy of the first target model.
 

Properties

CharacterFeaturePackSO FeaturePack [get, set]
 

Detailed Description

Creates variation in character objects.

Member Function Documentation

◆ SpawnNPCModel()

CharacterModel CharacterCreator.SpawnNPCModel ( Transform parent)

Creates a new character model with random features. Avoids looking like the target NPC.

◆ SpawnTargetModel()

CharacterModel CharacterCreator.SpawnTargetModel ( Transform parent,
int layer = 0 )

Creates a new character model and only randomizes its features on the first call.Subsequent calls will instantiate a copy of the first target model.

Property Documentation

◆ FeaturePack

CharacterFeaturePackSO CharacterCreator.FeaturePack
getset

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