LandEnemy.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    void Start()
    {
        SpawnPoints = GameObject.FindGameObjectWithTag("SpawnPoints").transform;
        direction = transform.forward + new Vector3(1.0f, 0.0f);
        transform.position = SpawnPoints.GetChild(Random.Range(0, SpawnPoints.childCount)).position;
        SetRandomTimer();
    }