Class CMSReferenceHandler
- Namespace
- BlazerTech.CharacterManagement.Core
- Assembly
- Assembly-CSharp.dll
[DefaultExecutionOrder(-200)]
[DisallowMultipleComponent]
public class CMSReferenceHandler : MonoBehaviour
- Inheritance
-
Object
Component
Behaviour
MonoBehaviour
CMSReferenceHandler
Fields
CharacterTypeAddressableLabel
public const string CharacterTypeAddressableLabel = "Character Types"
Field Value
- string
LayeredCharacterTypeShaders
public static Dictionary<LayeredCharacterTypeSO, Material> LayeredCharacterTypeShaders
Field Value
- Dictionary<LayeredCharacterTypeSO, Material>
Properties
CharacterPiecesShaders
public SerializableDictionary<int, Shader> CharacterPiecesShaders { get; }
Property Value
- SerializableDictionary<int, Shader>
Instance
public static CMSReferenceHandler Instance { get; }
Property Value
- CMSReferenceHandler
UnifiedCharacterMaterial
public Material UnifiedCharacterMaterial { get; }
Property Value
- Material
ValidCharacterTypes
public static List<CharacterTypeBaseSO> ValidCharacterTypes { get; }
Property Value
- List<CharacterTypeBaseSO>
ValidLayeredCharacterTypes
public static List<LayeredCharacterTypeSO> ValidLayeredCharacterTypes { get; }
Property Value
- List<LayeredCharacterTypeSO>
ValidUnifiedCharacterTypes
public static List<UnifiedCharacterTypeSO> ValidUnifiedCharacterTypes { get; }
Property Value
- List<UnifiedCharacterTypeSO>
Methods
GetCharacterTypeFromIdentifier(string)
public CharacterTypeBaseSO GetCharacterTypeFromIdentifier(string identifier)
Parameters
identifier string
Returns
- CharacterTypeBaseSO
GetLayeredCharacterGroupTemplates()
public List<LayeredCharacterGroupTemplateSO> GetLayeredCharacterGroupTemplates()
Returns
- List<LayeredCharacterGroupTemplateSO>
GetLayeredCharacterTypeFromIdentifier(string)
public LayeredCharacterTypeSO GetLayeredCharacterTypeFromIdentifier(string identifier)
Parameters
identifier string
Returns
- LayeredCharacterTypeSO
GetUnifiedCharacterTypeFromIdentifier(string)
public UnifiedCharacterTypeSO GetUnifiedCharacterTypeFromIdentifier(string identifier)
Parameters
identifier string
Returns
- UnifiedCharacterTypeSO
ValidateCharacterType(CharacterTypeBaseSO)
public static bool ValidateCharacterType(CharacterTypeBaseSO characterType)
Parameters
characterType CharacterTypeBaseSO
Returns
- bool