Beispiel #1
0
    public void RoundNextEnemy(Enemy nowEnemy)
    {
        enemy = base.RoundNextActor(nowEnemy) as Enemy;
        enemy.ActiveActor(true);

        if (MyCamera.Instance != null)
        {
            MyCamera.Instance.LookAtTarget(nowEnemy.ActorTransform.position, 15f);
        }
    }
Beispiel #2
0
    public override void RoundFirstActor()
    {
        base.RoundFirstActor();

        if (actorList.Count >= 1)
        {
            enemy = actorList [0] as Enemy;
            MyCamera.Instance.LookAtTarget(enemy.ActorTransform.position, 15f);
            enemy.ActiveActor(true);
        }
        enemyDoneNum = 0;
        Debug.Log("enter Enemy Round");
    }