Opponent.Orient C# (CSharp) Method

Orient() public method

public Orient ( GameObject go ) : void
go GameObject
return void
    public void Orient(GameObject go)
    {
        transform.LookAt(go.transform.position);
    }