13 lines
350 B
C#
13 lines
350 B
C#
using UnityEngine;
|
|
public class ShootingRangeBlocker : MonoBehaviour
|
|
{
|
|
protected virtual void Awake()
|
|
{
|
|
ShootingRangeAct.EventAggregator.Publish(new ShootingRangeAct.EventPanelOpen());
|
|
}
|
|
protected virtual void OnDestroy()
|
|
{
|
|
ShootingRangeAct.EventAggregator.Publish(new ShootingRangeAct.EventPanelClose());
|
|
}
|
|
}
|