Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ResourceManager ( ) : UnityEditor | ||
getBoneNames ( |
public GenerateAnimationAsset ( GenderType gender, RigType rig, String>.Dictionary |
||
gender | GenderType | |
rig | RigType | |
zmoPaths | String>.Dictionary | |
Результат | void |
public GenerateAnimationAsset ( GenderType gender, WeaponType weapon ) : void | ||
gender | GenderType | |
weapon | WeaponType | |
Результат | void |
public GetZMOPath ( WeaponType WeaponType, ActionType Action, GenderType Gender ) : string | ||
WeaponType | WeaponType | Equiped Weapon |
Action | ActionType | |
Gender | GenderType | Player Gender |
Результат | string |
public LoadAnimations ( |
||
player | ||
skeleton | ||
weapon | WeaponType | |
gender | GenderType | |
Результат | void |
public LoadClips ( |
||
skeleton | ||
zmd | ||
gender | GenderType | |
rig | RigType | |
zmoPaths | String>.Dictionary | |
Результат | void |
public LoadClips ( |
||
skeleton | ||
zmd | ||
weapon | WeaponType | |
gender | GenderType | |
Результат | void |
public cachedLoad ( string path ) : object | ||
path | string | |
Результат | object |
public getWeaponType ( int weaponID ) : WeaponType | ||
weaponID | int | |
Результат | WeaponType |
public getZSC ( GenderType gender, BodyPartType bodyPart ) : |
||
gender | GenderType | |
bodyPart | BodyPartType | |
Результат |
public loadBindPoses ( |
||
skeleton | ||
gender | GenderType | |
weapon | WeaponType | |
Результат |
public loadResource ( string path ) : object | ||
path | string | |
Результат | object |
public loadSkeleton ( GenderType gender, RigType rig ) : |
||
gender | GenderType | |
rig | RigType | |
Результат |
public loadSkeleton ( GenderType gender, WeaponType weapon ) : |
||
gender | GenderType | |
weapon | WeaponType | |
Результат |
public unloadResource ( UnityEngine resource ) : void | ||
resource | UnityEngine | |
Результат | void |
public static ResourceManager,UnityRose instance | ||
Результат |
public STB,UnityRose.Formats stb_animation_list | ||
Результат |
public STB,UnityRose.Formats stb_animation_type | ||
Результат |
public STB,UnityRose.Formats stb_cap_list | ||
Результат |
public STB,UnityRose.Formats stb_hair_list | ||
Результат |
public STB,UnityRose.Formats stb_weapon_list | ||
Результат |
public static Dictionary |
||
Результат | WeaponType>.Dictionary |
public ZMD,UnityRose.Formats zmd_female | ||
Результат |
public ZSC,UnityRose.Formats zsc_arms_female | ||
Результат |
public ZSC,UnityRose.Formats zsc_arms_male | ||
Результат |
public ZSC,UnityRose.Formats zsc_body_female | ||
Результат |
public ZSC,UnityRose.Formats zsc_body_male | ||
Результат |
public ZSC,UnityRose.Formats zsc_cap_female | ||
Результат |
public ZSC,UnityRose.Formats zsc_cap_male | ||
Результат |
public ZSC,UnityRose.Formats zsc_faceItem | ||
Результат |
public ZSC,UnityRose.Formats zsc_face_female | ||
Результат |
public ZSC,UnityRose.Formats zsc_face_male | ||
Результат |
public ZSC,UnityRose.Formats zsc_foot_female | ||
Результат |
public ZSC,UnityRose.Formats zsc_foot_male | ||
Результат |
public ZSC,UnityRose.Formats zsc_hair_female | ||
Результат |
public ZSC,UnityRose.Formats zsc_hair_male | ||
Результат |
public ZSC,UnityRose.Formats zsc_subweapon | ||
Результат |