Exemplo n.º 1
0
        public override void Initialization(GameObject obj, bool beChild)
        {
            _isInited = false;

            base.Initialization(obj, false);

            InitPosition();

            FindChild();
            _moveControl = this.gameObject.AddComponent <PlayerMoveControl>();
            _moveControl.Initialization(_pBody, false);

            _isInited = true;

            //开始控制角色 临时的
            StartControlPlayer();
        }