Class CharacterComponentHudBase<ComponentType>
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NeoFPS
Assembly: NeoFPS.dll
Syntax
public abstract class CharacterComponentHudBase<ComponentType> : MonoBehaviour, IPlayerCharacterSubscriber where ComponentType : class
Type Parameters
| Name | Description |
|---|---|
| ComponentType |
Properties
isValid
Declaration
protected virtual bool isValid { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
targetComponent
Declaration
protected ComponentType targetComponent { get; }
Property Value
| Type | Description |
|---|---|
| ComponentType |
Methods
AttachToComponent(ComponentType)
Declaration
protected abstract void AttachToComponent(ComponentType target)
Parameters
| Type | Name | Description |
|---|---|---|
| ComponentType | target |
Awake()
Declaration
protected virtual void Awake()
DetachFromComponent(ComponentType)
Declaration
protected abstract void DetachFromComponent(ComponentType target)
Parameters
| Type | Name | Description |
|---|---|---|
| ComponentType | target |
OnDestroy()
Declaration
protected virtual void OnDestroy()
OnPlayerCharacterChanged(ICharacter)
Declaration
public void OnPlayerCharacterChanged(ICharacter c)
Parameters
| Type | Name | Description |
|---|---|---|
| ICharacter | c |
ResetUI()
Declaration
protected abstract void ResetUI()
Start()
Declaration
protected virtual void Start()