Пример #1
0
    public void Init(Transform view, Transform weaponSlo1, Transform weaponSlo2)
    {
        this.view       = view;
        this.weaponSlo1 = weaponSlo1;
        this.weaponSlo2 = weaponSlo2;
        Container.Inject(bag);
        bag.Init(this);

        //Debug.LogError(RootContext.Instance);
        //Debug.LogError(RootContext.Instance.Player);
        //RootContext.Instance.Player.UpdateBag();
    }