Exemplo n.º 1
0
    public override void SetData(PlayerInfo data, int initBodyLength)
    {
        _BevTree                   = BotFactory.GetBehaviourTree();
        _BevWorkingData            = new BotWorkingData();
        _BevWorkingData._Character = this;
        base.SetData(data, initBodyLength);

        _PathUtil = this.gameObject.AddComponent <BotAStar>();
        _PathUtil.SetData(this);
        _PlayerCamera.SetData(_Head.transform);
    }