void spawn_unit_actor(string name, float ap_fill_rate, int a, int b, int c) { GameObject unit = tactical_map.place_unit(a, b, c); UnitActor actor = unit.GetComponent <UnitActor>(); actor.initialize(ap_fill_rate, turn_meter_controller); turn_meter_controller.register_actor(name, actor); }