C# Class GameMachine.NpcGroup

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: gamemachine/gamemachine Class Usage Examples

Méthodes publiques

Свойство Type Description
formation Formation
formationRandomRange float
leader Npc
leaderDef NpcDef
memberDefs List
route WaypointRoute
showFormationPoint bool

Méthodes publiques

Méthode Description
AddNpc ( Npc npc ) : void
GetFollowTargets ( ) : List
GetNpcList ( ) : List
HasLeader ( ) : bool
InitFormation ( ) : void
IsLeader ( Npc npc ) : bool
RandomVector3 ( Vector3 position ) : Vector3
SetLeader ( Npc leader ) : void
Start ( ) : void

Private Methods

Méthode Description
CreateFormationPoint ( ) : GameObject
CreateRandomFormation ( ) : void
CreateRandomPoint ( ) : void

Method Details

AddNpc() public méthode

public AddNpc ( Npc npc ) : void
npc Npc
Résultat void

GetFollowTargets() public méthode

public GetFollowTargets ( ) : List
Résultat List

GetNpcList() public méthode

public GetNpcList ( ) : List
Résultat List

HasLeader() public méthode

public HasLeader ( ) : bool
Résultat bool

InitFormation() public méthode

public InitFormation ( ) : void
Résultat void

IsLeader() public méthode

public IsLeader ( Npc npc ) : bool
npc Npc
Résultat bool

RandomVector3() public méthode

public RandomVector3 ( Vector3 position ) : Vector3
position Vector3
Résultat Vector3

SetLeader() public méthode

public SetLeader ( Npc leader ) : void
leader Npc
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

formation public_oe property

public Formation formation
Résultat Formation

formationRandomRange public_oe property

public float formationRandomRange
Résultat float

leader public_oe property

public Npc,GameMachine leader
Résultat Npc

leaderDef public_oe property

public NpcDef,GameMachine leaderDef
Résultat NpcDef

memberDefs public_oe property

public List memberDefs
Résultat List

route public_oe property

public WaypointRoute,GameMachine route
Résultat WaypointRoute

showFormationPoint public_oe property

public bool showFormationPoint
Résultat bool