Esempio n. 1
0
        public void SetFirstPersonCharacter(GameObject obj)
        {
            _characterP1 = obj;
            _p1Index     = ValidP1Index;

            _p1Avatar = new CharacterAvatar(_characterP1);
            _p1Avatar.Hide();
        }
        public void SetThirdPersonCharacter(GameObject obj)
        {
            _characterP3 = obj;
            _p3Index     = ValidP3Index;
            P3HaveInit   = true;

            _p3Avatar = new CharacterAvatar(_characterP3);
            _p3Avatar.SetBagChangedDelegate(_bagChanged);
            if (IsFirstPerson)
            {
                _p3Avatar.Hide();
            }
            else
            {
                _p3Avatar.Show();
            }

            InitWardrobe(DefaultModelParts);

            Logger.InfoFormat("CharacterLog-- Wardrobe GameObject:  {0}", obj.name);
        }