public virtual void OpenRepresentation(RepresentationObject parent = null) { myGameObject.SetActive(true); RenderSettings.ambientLight = ambientLightingColor; RenderSettings.ambientIntensity = ambientIntencity; if (representationCanvas) { representationCanvas.gameObject.SetActive(true); } // todo if parent != null }
public void OpenRepresentation(RepresentationObject repr) { if (currentRepresentation != null) { GameManager.Instance.loadingIndicator.InitLoadingIndicator(); currentRepresentation.CloseRepresentation(); } currentRepresentation = repr; currentRepresentation.OpenRepresentation(); GameManager.Instance.loadingIndicator.DisableLoadingIndicator(); }
public override void OpenRepresentation(RepresentationObject parent) { base.OpenRepresentation(); }