1
2
3
4
5
6
7
8
9
10
11
12
13
14
use core::prefab::{Prefab, PrefabComponent};
use serde::{Deserialize, Serialize};

#[derive(Debug, Copy, Clone, Serialize, Deserialize)]
pub struct HaVisibility(pub bool);

impl Default for HaVisibility {
    fn default() -> Self {
        Self(true)
    }
}

impl Prefab for HaVisibility {}
impl PrefabComponent for HaVisibility {}