Adventure Creator  1.68.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2018
AC.PlayerPrefab Class Reference

Public Member Functions

 PlayerPrefab (int[] idArray)
 

Public Attributes

Player playerOb
 
int ID
 
bool isDefault
 

Detailed Description

A data container for a Player prefab.

Constructor & Destructor Documentation

◆ PlayerPrefab()

AC.PlayerPrefab.PlayerPrefab ( int []  idArray)

The default Constructor. An array of ID numbers is required, to ensure its own ID is unique.

Member Data Documentation

◆ ID

int AC.PlayerPrefab.ID

A unique identifier

◆ isDefault

bool AC.PlayerPrefab.isDefault

If True, this Player is the game's default

◆ playerOb

Player AC.PlayerPrefab.playerOb

The Player prefab