示例#1
0
    public void CopyFrom(BackGroundProperty bp)
    {
        this.backGroundName = bp.backGroundName;
        this.backGroundPath = bp.backGroundPath;

        return;
    }
示例#2
0
 public void DecodeData(out BackGroundProperty bp)
 {
     bp = new BackGroundProperty
     {
         backGroundName = backGroundName,
         backGroundPath = backGroundPath
     };
 }
示例#3
0
 public void CopyTo(ref BackGroundProperty bp)
 {
     bp = new BackGroundProperty();
     bp.backgroundButton = false;
     bp.backGroundName   = this.backGroundName;
     bp.backGroundPath   = this.backGroundPath;
     return;
 }
示例#4
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));
    }
示例#5
0
 public void EncodeData(BackGroundProperty bp)
 {
     backGroundName = bp.backGroundName;
     backGroundPath = bp.backGroundPath;
 }