Esempio n. 1
0
 public void InverseRecheckData()
 {
     dressData.DecodeData(out this.dressProperty);
     dressProperty.InitializeDressProperty(dressData.serializedJsonObject);
     femaleWigData.DecodeData(out this.femaleWigProperty);
     ornamentData.DecodeData(out this.ornamentProperty);
     shoeData.DecodeData(out this.shoeProperty);
     backgroundData.DecodeData(out this.backgroundProperty);
     maleData.DecodeData(out this.maleWigProperty, out this.maleTieProperty, out this.isShowingMale);
 }
Esempio n. 2
0
    public void InitializeProperties()
    {
        dressProperty = new DressProperties();
        dressProperty.InitializeDressProperty(dressData.serializedJsonObject);
        dressProperty.SetDressColor(dressData.pColor);
        femaleWigProperty = new FemaleWigProperties();
        femaleWigProperty.InitializeWigProperty(femaleWigData.serializedJsonObject);
        femaleWigProperty.SetFemaleWigColor(femaleWigData.pColor);
        ornamentProperty = new OrnamentProperties();
        ornamentProperty.InitializeOrnamentProperty(ornamentData.serializedJsonObject);
        shoeProperty = new ShoeProperties();
        shoeProperty.InitializeShoeProperty(shoeData.serializedJsonObject);
        shoeProperty.SetShoeColor(shoeData.pColor);

        backgroundProperty = new BackGroundProperty();
        backgroundData.DecodeData(out backgroundProperty);

        Debug.Log(string.Format(" InitializeProperties-- background data : {0}....{1}", backgroundData.backGroundName, backgroundData.backGroundPath));
        Debug.Log(string.Format(" InitializeProperties-- background Properties : {0}....{1}", backgroundProperty.backGroundName, backgroundProperty.backGroundPath));
    }