Battle Talent  V11
Public Member Functions | Static Public Attributes | Events | List of all members
CrossLink.CharacterMgr Class Reference

Inherits CrossLink.LogicModule.

Public Member Functions

void RegFullCharacter (FullCharacterControl fc)
 
void UnRegFullCharacter (FullCharacterControl fc)
 
FullCharacterControl GetFullCharacter (Transform trans)
 
FullCharacterControl GetFullCharacterByChild (Transform trans)
 
void AddToDeadList (FullCharacterControl fc)
 
void SpawnRoleAsync (string role, System.Action< FullCharacterControl > onSpawn, RoleEffector re=RoleEffector.None, bool force=false)
 
FullCharacterControl SpawnRole (string role, bool force=false, RoleEffector re=RoleEffector.None)
 

Static Public Attributes

static CharacterMgr Instance = new CharacterMgr()
 

Events

System.Action< FullCharacterControlSpawnRoleEvent