// public override MeepleObjectSerializable GetSerializable() // { // // } public override MeepleObjectSerializable GetSerializable() { deckData.Guid = GetInstanceID(); deckData.Name = gameObject.name; deckData.Size = transform.localScale; deckData.Rotation = transform.rotation.eulerAngles; deckData.CurrentGridGuid = CurrentGrid.GetInstanceID(); return(deckData); }
public override MeepleObjectSerializable GetSerializable() { buttonData.Guid = GetInstanceID(); buttonData.Name = name; buttonData.Rotation = transform.rotation.eulerAngles; buttonData.Size = transform.localScale; buttonData.Text = name; buttonData.CurrentGridGuid = CurrentGrid.GetInstanceID(); return(buttonData); }
public override MeepleObjectSerializable GetSerializable() { cardData.Guid = GetInstanceID(); cardData.Name = name; cardData.Rotation = transform.rotation.eulerAngles; cardData.Size = transform.localScale; cardData.CurrentGridGuid = CurrentGrid.GetInstanceID(); cardData.CardImporterGuid = textureImporter.GetInstanceID(); return(cardData); }