Class LockpickPopup
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 LockpickPopup : MonoBehaviour
Fields
s_Instances
Declaration
public static Dictionary<string, LockpickPopup> s_Instances
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, LockpickPopup> |
Properties
difficulty
Declaration
public float difficulty { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
pickItem
Declaration
public IInventoryItem pickItem { get; }
Property Value
| Type | Description |
|---|---|
| IInventoryItem |
Methods
Awake()
Declaration
protected virtual void Awake()
Cancel()
Declaration
public void Cancel()
Initialise(ICharacter)
Declaration
protected abstract void Initialise(ICharacter character)
Parameters
| Type | Name | Description |
|---|---|---|
| ICharacter | character |
OnDestroy()
Declaration
protected virtual void OnDestroy()
ShowLockpickPopup(String, Single, ICharacter, IInventoryItem, UnityAction<ICharacter>, UnityAction)
Declaration
public static bool ShowLockpickPopup(string id, float difficulty, ICharacter character, IInventoryItem pickItem, UnityAction<ICharacter> onUnlock, UnityAction onCancel)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | |
| System.Single | difficulty | |
| ICharacter | character | |
| IInventoryItem | pickItem | |
| UnityAction<ICharacter> | onUnlock | |
| UnityAction | onCancel |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Unlock()
Declaration
protected virtual void Unlock()