TankMovement.Start C# (CSharp) 메소드

Start() 공개 메소드

Initialize information
public Start ( ) : void
리턴 void
    void Start()
    {
        base.targetLocation = Player.Instance.getClosestVertice();
        base.setMovementScript(this.GetComponent<AStar>());
        base.setTarget(Player.Instance.transform.position);
        base.moveTowardsPlayerAtEndOfPath = true;
        this.getNewPlan(base.targetLocation);

        // Start finding plan
        StartCoroutine(this.updatePlan());
    }