protected override void _init_cache() { base._init_cache(); radar = new chibi.radar.Radar_box(radar); rol = GetComponent <chibi.rol_sheet.Rol_sheet>(); if (!rol) { Debug.LogError(string.Format( "[fish controller] no encontro un 'Rol_sheet' en '{0}'", helper.game_object.name.full(this))); } }
protected override void _init_cache() { base._init_cache(); catch_radar = new chibi.radar.Radar_box(catch_radar); dodge_radar = new chibi.radar.Radar_box(dodge_radar); hp_motor = GetComponent <chibi.damage.motor.HP_engine>(); if (!hp_motor) { debug.error("no se encontro un hp_engine"); } counter_pomodoro = Pomodoro.CreateInstance <Pomodoro>(); counter_pomodoro.frecuency = counter_time; counter_pomodoro.reset(); hp_motor.on_died += on_died; }
protected override void _init_cache() { base._init_cache(); catch_radar = new chibi.radar.Radar_box(catch_radar); }