public static string GetName(ESwitchableObjectId id) { return(GameUtils.GetNameByPath(GameConstants.switchableObjectPaths[id])); }
public static SwitchableObject GetAsChildByPath(GameObject parent, ESwitchableObjectId id) { return(parent.transform.Find(GetPath(id)).GetComponent <SwitchableObject>()); }
public static string GetPath(ESwitchableObjectId id) { return(GameConstants.switchableObjectPaths[id]); }