Пример #1
0
 // Use this for initialization
 void Start()
 {
     controller = TurnController.GetInstance();
     controller.NotifyCharactersChange += UpdateCharacters;
     Debug.Log("Camera registered to TurnController");
     characters  = controller.GetActiveCharacters();
     relativePos = Vector3.zero;
     centerPos   = Vector3.zero;
     cam         = GetComponentInChildren <Camera>();
     //TODO event to add and remove enemies and allies
 }