public void CopyFrom(BackGroundProperty bp) { this.backGroundName = bp.backGroundName; this.backGroundPath = bp.backGroundPath; return; }
public void DecodeData(out BackGroundProperty bp) { bp = new BackGroundProperty { backGroundName = backGroundName, backGroundPath = backGroundPath }; }
public void CopyTo(ref BackGroundProperty bp) { bp = new BackGroundProperty(); bp.backgroundButton = false; bp.backGroundName = this.backGroundName; bp.backGroundPath = this.backGroundPath; return; }
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)); }
public void EncodeData(BackGroundProperty bp) { backGroundName = bp.backGroundName; backGroundPath = bp.backGroundPath; }