Browse Source

Update Changelog

Change portrait move to front to operate on holder rather than image
Bump Unity bugfix version
master
Steve Halliwell 4 years ago
parent
commit
8cfb822ddf
  1. 4
      Assets/Fungus/Docs/CHANGELOG.txt
  2. 2
      Assets/Fungus/Scripts/Components/PortraitController.cs
  3. 4
      ProjectSettings/ProjectVersion.txt

4
Assets/Fungus/Docs/CHANGELOG.txt

@ -4,6 +4,10 @@ Changelog {#changelog}
Unreleased
======
## Fixed
- LoadVariable leaves variable unchanged if key not found, previously was setting to default. Thanks to CG-Tespy.
- Portrait MoveToFront now correctly moves holder rather than underlying image itself. Thanks to iwanPlays.
v3.13.5
======

2
Assets/Fungus/Scripts/Components/PortraitController.cs

@ -390,7 +390,7 @@ namespace Fungus
/// </summary>
public virtual void MoveToFront(PortraitOptions options)
{
options.character.State.portraitImage.transform.parent.SetSiblingIndex(options.character.State.portraitImage.transform.parent.parent.childCount);
options.character.State.holder.SetSiblingIndex(options.character.State.holder.parent.childCount);
options.character.State.display = DisplayType.MoveToFront;
FinishCommand(options);
}

4
ProjectSettings/ProjectVersion.txt

@ -1,2 +1,2 @@
m_EditorVersion: 2019.4.9f1
m_EditorVersionWithRevision: 2019.4.9f1 (50fe8a171dd9)
m_EditorVersion: 2019.4.10f1
m_EditorVersionWithRevision: 2019.4.10f1 (5311b3af6f69)

Loading…
Cancel
Save