Fix the sound bird interactaiblity issues.
This commit is contained in:
@@ -38,6 +38,11 @@ namespace Interactions
|
||||
protected FollowerController FollowerController;
|
||||
private bool isActive = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether this interactable is currently active (can be clicked)
|
||||
/// </summary>
|
||||
public bool IsActive => isActive;
|
||||
|
||||
// Action component system
|
||||
private List<InteractionActionBase> _registeredActions = new List<InteractionActionBase>();
|
||||
|
||||
@@ -443,6 +448,14 @@ namespace Interactions
|
||||
isActive = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enable or disable this interactable
|
||||
/// </summary>
|
||||
public void SetActive(bool active)
|
||||
{
|
||||
isActive = active;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Legacy Methods & Compatibility
|
||||
|
||||
Reference in New Issue
Block a user