TankMovement.Start C# (CSharp) Method

Start() public method

Initialize information
public Start ( ) : void
return 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());
    }