1
This commit is contained in:
@@ -73,6 +73,13 @@ namespace BITKit.UX
|
||||
protected virtual void Start()
|
||||
{
|
||||
BITKit.UX.UXUtils.Inject(this);
|
||||
|
||||
UXService.Register(this);
|
||||
destroyCancellationToken.Register(() =>
|
||||
{
|
||||
UXService.UnRegister(this);
|
||||
});
|
||||
|
||||
if(IsValid && autoEntry)
|
||||
UXService.Entry(this);
|
||||
|
||||
@@ -92,8 +99,8 @@ namespace BITKit.UX
|
||||
{
|
||||
UXService.Return();
|
||||
}
|
||||
protected virtual void OnEnable()=>UXService.Register(this);
|
||||
protected virtual void OnDisable()=>UXService.UnRegister(this);
|
||||
protected virtual void OnEnable(){}
|
||||
protected virtual void OnDisable(){}
|
||||
protected virtual void OnPanelEntry(){}
|
||||
protected virtual void OnPanelExit(){}
|
||||
void IEntryElement.Entry()
|
||||
|
Reference in New Issue
Block a user