Esempio n. 1
0
 /// <summary>
 /// This event is called from the <see cref="PlayerMoveManager"/> when it is directed by <see cref="PlayerAgentMoveManager"/>.
 /// </summary>
 private void OnDestinationReached()
 {
     PlayerInteractiveObjectDestinationReachedEvent.Get().OnPlayerInteractiveObjectDestinationReached();
 }
Esempio n. 2
0
 public TestScenarioManager()
 {
     PlayerInteractiveObjectDestinationReachedEvent.Get().RegisterOnPlayerInteractiveObjectDestinationReachedEventListener(this.OnPlayerDestinationReached);
     this.InitialCameraPivotPointTransform = new TransformStruct(GameObject.FindGameObjectWithTag(TagConstants.CAMERA_PIVOT_POINT_TAG).transform);
     this.InitialCameraZoom = Camera.main.orthographicSize;
 }