Exemplo n.º 1
0
    private void initialize()
    {
        seenOtherAgents = new Dictionary <string, OtherAgent>();

        weapon = ObjectManager.AddStandardWeapon(this);
        gameObject.AddComponent <DamageRecipient>();



        Destination = transform.position;
        //visionDirection = gameObject.GetComponent<Rigidbody2D>().transform.forward;
        direction       = new Vector3(-1f, 0f, 0f);
        visionDirection = direction;
    }