refactor
This commit is contained in:
@@ -16,8 +16,6 @@ namespace RebootReality.jelycho.Items {
|
||||
|
||||
[field: SerializeField] public ItemConfig Config { get; private set; }
|
||||
|
||||
[SerializeField] Outline m_Outline;
|
||||
|
||||
//
|
||||
// @MARK: Unity callbacks
|
||||
//
|
||||
@@ -38,12 +36,6 @@ namespace RebootReality.jelycho.Items {
|
||||
// @MARK: IInteractable
|
||||
//
|
||||
public void SetHighlight(bool highlight) {
|
||||
if (m_Outline == null) {
|
||||
s_Logger.Error("ItemActor does not have an Outline component.");
|
||||
return;
|
||||
}
|
||||
|
||||
m_Outline.enabled = highlight;
|
||||
}
|
||||
|
||||
public void Interact() { }
|
||||
|
||||
Reference in New Issue
Block a user