C# Class UnityPlatformer.PlayerStart

Create a player at given position
Inheritance: InstancePrefab
Mostrar archivo Open project: llafuente/unity-platformer

Public Properties

Property Type Description
monitor bool
setupCameraFollow bool

Public Methods

Method Description
OnAwake ( bool notify = true ) : void

Instance the prefab, rename and attach it

Method Details

OnAwake() public method

Instance the prefab, rename and attach it
public OnAwake ( bool notify = true ) : void
notify bool true -> SendMessage: OnInstancePrefab
return void

Property Details

monitor public_oe property

true: Enable CharacterMonitor if it's found in the Prefab or Create it false: do nothing
public bool monitor
return bool

setupCameraFollow public_oe property

If you have your own camera, this should be false.
public bool setupCameraFollow
return bool