C# Class health, source

Inheritance: MonoBehaviour
Show file Open project: unityosgt/source Class Usage Examples

Public Properties

Property Type Description
KIlledBY GameObject
body Transform
damage bool
death bool
deathPoint int
isDeath bool
killPoint int
life int
myPhotonView PhotonView,
renderer Renderer
selectedSpawn int
spawnPoints GameObject[]
waypointContainer GameObject

Private Methods

Method Description
Start ( ) : void
Update ( ) : void
hitFunc ( PhotonMessageInfo, info ) : void
hitFunc2 ( PhotonMessageInfo, info ) : void
respawnFunc ( int selectedSpawn ) : IEnumerator
setLife ( ) : void

Property Details

KIlledBY public property

public GameObject KIlledBY
return GameObject

body public property

public Transform body
return Transform

damage public property

public bool damage
return bool

death public property

public bool death
return bool

deathPoint public property

public int deathPoint
return int

isDeath public property

public bool isDeath
return bool

killPoint public property

public int killPoint
return int

life public property

public int life
return int

myPhotonView public property

public PhotonView, myPhotonView
return PhotonView,

renderer public property

public Renderer renderer
return Renderer

selectedSpawn public property

public int selectedSpawn
return int

spawnPoints public property

public GameObject[] spawnPoints
return GameObject[]

waypointContainer public property

public GameObject waypointContainer
return GameObject