C# Class World, kbengine_unity3d_demo

Inheritance: MonoBehaviour
Afficher le fichier Open project: kbengine/kbengine_unity3d_demo Class Usage Examples

Méthodes publiques

Свойство Type Description
avatarPerfab UnityEngine.GameObject
entityPerfab UnityEngine.GameObject
terrainPerfab UnityEngine.GameObject

Méthodes publiques

Méthode Description
Awake ( ) : void
OnDestroy ( ) : void
Start ( ) : void
Update ( ) : void
addSpaceGeometryMapping ( string respath ) : void
createPlayer ( ) : void
installEvents ( ) : void
onAddSkill ( KBEngine entity ) : void
onAvatarEnterWorld ( UInt64 rndUUID, Int32 eid, KBEngine avatar ) : void
onControlled ( KBEngine entity, bool isControlled ) : void
onEnterWorld ( KBEngine entity ) : void
onLeaveWorld ( KBEngine entity ) : void
otherAvatarOnJump ( KBEngine entity ) : void
recvDamage ( KBEngine entity, KBEngine attacker, Int32 skillID, Int32 damageType, Int32 damage ) : void
set_HP ( KBEngine entity, object v ) : void
set_HP_Max ( KBEngine entity, object v ) : void
set_MP ( KBEngine entity, object v ) : void
set_MP_Max ( KBEngine entity, object v ) : void
set_direction ( KBEngine entity ) : void
set_entityName ( KBEngine entity, object v ) : void
set_level ( KBEngine entity, object v ) : void
set_modelID ( KBEngine entity, object v ) : void
set_modelScale ( KBEngine entity, object v ) : void
set_moveSpeed ( KBEngine entity, object v ) : void
set_position ( KBEngine entity ) : void
set_state ( KBEngine entity, object v ) : void
updatePosition ( KBEngine entity ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

addSpaceGeometryMapping() public méthode

public addSpaceGeometryMapping ( string respath ) : void
respath string
Résultat void

createPlayer() public méthode

public createPlayer ( ) : void
Résultat void

installEvents() public méthode

public installEvents ( ) : void
Résultat void

onAddSkill() public méthode

public onAddSkill ( KBEngine entity ) : void
entity KBEngine
Résultat void

onAvatarEnterWorld() public méthode

public onAvatarEnterWorld ( UInt64 rndUUID, Int32 eid, KBEngine avatar ) : void
rndUUID UInt64
eid Int32
avatar KBEngine
Résultat void

onControlled() public méthode

public onControlled ( KBEngine entity, bool isControlled ) : void
entity KBEngine
isControlled bool
Résultat void

onEnterWorld() public méthode

public onEnterWorld ( KBEngine entity ) : void
entity KBEngine
Résultat void

onLeaveWorld() public méthode

public onLeaveWorld ( KBEngine entity ) : void
entity KBEngine
Résultat void

otherAvatarOnJump() public méthode

public otherAvatarOnJump ( KBEngine entity ) : void
entity KBEngine
Résultat void

recvDamage() public méthode

public recvDamage ( KBEngine entity, KBEngine attacker, Int32 skillID, Int32 damageType, Int32 damage ) : void
entity KBEngine
attacker KBEngine
skillID Int32
damageType Int32
damage Int32
Résultat void

set_HP() public méthode

public set_HP ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_HP_Max() public méthode

public set_HP_Max ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_MP() public méthode

public set_MP ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_MP_Max() public méthode

public set_MP_Max ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_direction() public méthode

public set_direction ( KBEngine entity ) : void
entity KBEngine
Résultat void

set_entityName() public méthode

public set_entityName ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_level() public méthode

public set_level ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_modelID() public méthode

public set_modelID ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_modelScale() public méthode

public set_modelScale ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_moveSpeed() public méthode

public set_moveSpeed ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

set_position() public méthode

public set_position ( KBEngine entity ) : void
entity KBEngine
Résultat void

set_state() public méthode

public set_state ( KBEngine entity, object v ) : void
entity KBEngine
v object
Résultat void

updatePosition() public méthode

public updatePosition ( KBEngine entity ) : void
entity KBEngine
Résultat void

Property Details

avatarPerfab public_oe property

public GameObject,UnityEngine avatarPerfab
Résultat UnityEngine.GameObject

entityPerfab public_oe property

public GameObject,UnityEngine entityPerfab
Résultat UnityEngine.GameObject

terrainPerfab public_oe property

public GameObject,UnityEngine terrainPerfab
Résultat UnityEngine.GameObject