public static T GetA <T>(this Graspable g) { if (g) { return(g.GetComponent <T>()); } else { return(default);
public static bool IsA <T>(this Graspable g) { if (g) { return(g.GetComponent <T>() != null); } else { return(false); } }
public static T GetA <T>(this Graspable g) { if (g) { return(g.GetComponent <T>()); } else { return(default);
public static bool IsA <T>(this Graspable g) { if (g) { return(g.GetComponent <T>() != null); } else { return(false); } }