コード例 #1
0
 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
 }
コード例 #2
0
 public void OpenRepresentation(RepresentationObject repr)
 {
     if (currentRepresentation != null)
     {
         GameManager.Instance.loadingIndicator.InitLoadingIndicator();
         currentRepresentation.CloseRepresentation();
     }
     currentRepresentation = repr;
     currentRepresentation.OpenRepresentation();
     GameManager.Instance.loadingIndicator.DisableLoadingIndicator();
 }
コード例 #3
0
 public override void OpenRepresentation(RepresentationObject parent)
 {
     base.OpenRepresentation();
 }