Свойство | Type | Description | |
---|---|---|---|
instance | |||
stb_animation_list | |||
stb_animation_type | |||
stb_cap_list | |||
stb_hair_list | |||
stb_weapon_list | |||
weapon_type_lookup | WeaponType>.Dictionary | ||
zmd_female | |||
zmd_male | |||
zsc_arms_female | |||
zsc_arms_male | |||
zsc_back | |||
zsc_body_female | |||
zsc_body_male | |||
zsc_cap_female | |||
zsc_cap_male | |||
zsc_faceItem | |||
zsc_face_female | |||
zsc_face_male | |||
zsc_foot_female | |||
zsc_foot_male | |||
zsc_hair_female | |||
zsc_hair_male | |||
zsc_subweapon | |||
zsc_weapon |
Méthode | Description | |
---|---|---|
GenerateAnimationAsset ( GenderType gender, RigType rig, String>.Dictionary |
||
GenerateAnimationAsset ( GenderType gender, WeaponType weapon ) : void |
Generate an animation prefab for the given gender and weapon
|
|
GenerateAnimationAssets ( ) : void |
Loop through all weapon types for each gender and create an animation asset and all associated clips The animations and clips are placed in GameData/Animation
|
|
GetZMOPath ( WeaponType WeaponType, ActionType Action, GenderType Gender ) : string |
Get Animation ZMO File path
|
|
LoadAnimations ( |
Loads all animations for equiped weapon type. Used only in editor to generate prefabs
|
|
LoadClips ( |
||
LoadClips ( |
Loads all animations for given weapon type and gender. The clips are saved to Animation/{gender}/{weapon}/clips/{action}.anim Used only in editor to generate prefabs
|
|
cachedLoad ( string path ) : object |
Checks the cache to see if the resource has already been loaded recently If found, returns the cached resource from memory (fast) If not found, loads the resource from file (slow) and caches the resource
|
|
getWeaponType ( int weaponID ) : WeaponType | ||
getZSC ( GenderType gender, BodyPartType bodyPart ) : |
Get the ZSC object associated with the given gender and bodyPart
|
|
loadBindPoses ( |
Load bindposes and bones matrices from resources scriptable object
|
|
loadResource ( string path ) : object |
Load a Rose Asset from text asset resource file to memory. Not cached.
|
|
loadSkeleton ( GenderType gender, RigType rig ) : |
||
loadSkeleton ( GenderType gender, WeaponType weapon ) : |
Load a skeleton game object from resources prefab
|
|
unloadResource ( UnityEngine resource ) : void |
Méthode | Description | |
---|---|---|
ResourceManager ( ) : UnityEditor | ||
getBoneNames ( |
public GenerateAnimationAsset ( GenderType gender, RigType rig, String>.Dictionary |
||
gender | GenderType | |
rig | RigType | |
zmoPaths | String>.Dictionary | |
Résultat | void |
public GenerateAnimationAsset ( GenderType gender, WeaponType weapon ) : void | ||
gender | GenderType | |
weapon | WeaponType | |
Résultat | void |
public GetZMOPath ( WeaponType WeaponType, ActionType Action, GenderType Gender ) : string | ||
WeaponType | WeaponType | Equiped Weapon |
Action | ActionType | |
Gender | GenderType | Player Gender |
Résultat | string |
public LoadAnimations ( |
||
player | ||
skeleton | ||
weapon | WeaponType | |
gender | GenderType | |
Résultat | void |
public LoadClips ( |
||
skeleton | ||
zmd | ||
gender | GenderType | |
rig | RigType | |
zmoPaths | String>.Dictionary | |
Résultat | void |
public LoadClips ( |
||
skeleton | ||
zmd | ||
weapon | WeaponType | |
gender | GenderType | |
Résultat | void |
public getWeaponType ( int weaponID ) : WeaponType | ||
weaponID | int | |
Résultat | WeaponType |
public getZSC ( GenderType gender, BodyPartType bodyPart ) : |
||
gender | GenderType | |
bodyPart | BodyPartType | |
Résultat |
public loadBindPoses ( |
||
skeleton | ||
gender | GenderType | |
weapon | WeaponType | |
Résultat |
public loadResource ( string path ) : object | ||
path | string | |
Résultat | object |
public loadSkeleton ( GenderType gender, RigType rig ) : |
||
gender | GenderType | |
rig | RigType | |
Résultat |
public loadSkeleton ( GenderType gender, WeaponType weapon ) : |
||
gender | GenderType | |
weapon | WeaponType | |
Résultat |
public unloadResource ( UnityEngine resource ) : void | ||
resource | UnityEngine | |
Résultat | void |
public static ResourceManager,UnityRose instance | ||
Résultat |
public STB,UnityRose.Formats stb_animation_list | ||
Résultat |
public STB,UnityRose.Formats stb_animation_type | ||
Résultat |
public STB,UnityRose.Formats stb_cap_list | ||
Résultat |
public STB,UnityRose.Formats stb_hair_list | ||
Résultat |
public STB,UnityRose.Formats stb_weapon_list | ||
Résultat |
public static Dictionary |
||
Résultat | WeaponType>.Dictionary |
public ZMD,UnityRose.Formats zmd_female | ||
Résultat |
public ZSC,UnityRose.Formats zsc_arms_female | ||
Résultat |
public ZSC,UnityRose.Formats zsc_arms_male | ||
Résultat |
public ZSC,UnityRose.Formats zsc_body_female | ||
Résultat |
public ZSC,UnityRose.Formats zsc_body_male | ||
Résultat |
public ZSC,UnityRose.Formats zsc_cap_female | ||
Résultat |
public ZSC,UnityRose.Formats zsc_cap_male | ||
Résultat |
public ZSC,UnityRose.Formats zsc_faceItem | ||
Résultat |
public ZSC,UnityRose.Formats zsc_face_female | ||
Résultat |
public ZSC,UnityRose.Formats zsc_face_male | ||
Résultat |
public ZSC,UnityRose.Formats zsc_foot_female | ||
Résultat |
public ZSC,UnityRose.Formats zsc_foot_male | ||
Résultat |
public ZSC,UnityRose.Formats zsc_hair_female | ||
Résultat |
public ZSC,UnityRose.Formats zsc_hair_male | ||
Résultat |
public ZSC,UnityRose.Formats zsc_subweapon | ||
Résultat |