public override void init() { base.init(); freezeComponent = base.getEnemy().GetComponent <Freezed>(); firstTime = true; }
// Start is called before the first frame update void Start() { freezeComponent = gameObject.GetComponent <Freezed>(); }