2023-07-24 16:38:13 +03:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class BoostZone : TriggerZone
|
|
|
|
{
|
|
|
|
[SerializeField]
|
|
|
|
private float _boostAmmount;
|
|
|
|
[SerializeField]
|
|
|
|
private float _boostTime;
|
|
|
|
|
|
|
|
protected override void InZone()
|
|
|
|
{
|
|
|
|
base.InZone();
|
2023-08-01 11:28:14 +03:00
|
|
|
//_ship.StopBoost();
|
|
|
|
//_ship.AddBoost(_boostAmmount, _boostTime);
|
2023-07-24 16:38:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
protected override void OutZone()
|
|
|
|
{
|
|
|
|
base.OutZone();
|
|
|
|
}
|
|
|
|
}
|