1
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
@@ -17,17 +18,16 @@ namespace BITKit
|
||||
}
|
||||
public interface ISelectable
|
||||
{
|
||||
Transform GetTransform();
|
||||
void SetSelectionState(SelectionState state);
|
||||
}
|
||||
public interface ISelectableCallback
|
||||
{
|
||||
void OnHover(ISelectable selectable);
|
||||
void OnActive(ISelectable selectable);
|
||||
void OnInactive(ISelectable selectable);
|
||||
}
|
||||
public interface ISelectableComponent
|
||||
{
|
||||
Transform Transform { get; }
|
||||
void SetSelectionState(SelectionState state);
|
||||
event Action OnNone;
|
||||
event Action OnHover;
|
||||
event Action OnActive;
|
||||
event Action OnInactive;
|
||||
event Action OnFocus;
|
||||
event Action OnSelected;
|
||||
event Action OnEnabled;
|
||||
event Action OnChecked;
|
||||
event Action OnRoot;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user