Exemplo n.º 1
0
        private void Start()
        {
            var model = base.GetComponentInChildren <CharacterModel>();

            //var skins = model.GetComponent<ModelSkinController>();
            //skins.ApplySkin( 0 );

            this.skinController = model.GetComponent <WispModelBitSkinController>();

            this.transformControls = new TransformControls(base.transform);
            this.camControls       = new TransformControls(base.transform.parent);
            this.bitWrapper        = new WispBitSkinMenuWrapper(base.GetComponentInChildren <WispModelBitSkinController>());

            this.transformControlsMenu = new Menu <TransformControls>(this.transformControls);
            this.camControlMenu        = new Menu <TransformControls>(this.camControls);
            this.bitWrapperMenu        = new Menu <WispBitSkinMenuWrapper>(this.bitWrapper);
        }
Exemplo n.º 2
0
 internal WispBitSkinMenuWrapper(WispModelBitSkinController controller)
 {
     this.controller = controller;
 }