public void onIns(OnInspectEvent e) { if (e.getGameObject().GetComponent <SpotLightProperties>() != null) { e.getGameObject().GetComponent <SpotLightProperties>().Display(content); } }
public void onIns(OnInspectEvent e) { if (e.getGameObject().GetComponent <ColorChangingProperties>() != null) { e.getGameObject().GetComponent <ColorChangingProperties>().Display(content); } }