refactor
This commit is contained in:
@@ -9,7 +9,6 @@ namespace RebootReality.jelycho {
|
||||
public class ButtonActor : Actor, IInteractable {
|
||||
static readonly Logger s_Logger = new Logger(nameof(ButtonActor));
|
||||
|
||||
[SerializeField] Outline m_Outline;
|
||||
[SerializeField] Transform m_Graphics;
|
||||
[SerializeField] float m_CooldownDuration = 0.5f;
|
||||
|
||||
@@ -65,12 +64,6 @@ namespace RebootReality.jelycho {
|
||||
// @MARK: IInteractable
|
||||
//
|
||||
public void SetHighlight(bool highlight) {
|
||||
if (m_Outline == null) {
|
||||
Debug.LogError("ButtonActor does not have an Outline component.");
|
||||
return;
|
||||
}
|
||||
|
||||
m_Outline.enabled = highlight;
|
||||
}
|
||||
|
||||
public void Interact() {
|
||||
|
||||
Reference in New Issue
Block a user