Skip to content

Commit

Permalink
verion 2.0.0
Browse files Browse the repository at this point in the history
Remove Malimbe references and update Zinnia
  • Loading branch information
Ethan Cheung committed Apr 30, 2022
1 parent bf55762 commit e72da15
Show file tree
Hide file tree
Showing 5 changed files with 349 additions and 99 deletions.
7 changes: 0 additions & 7 deletions FodyWeavers.xml

This file was deleted.

7 changes: 0 additions & 7 deletions FodyWeavers.xml.meta

This file was deleted.

16 changes: 8 additions & 8 deletions Runtime/SharedResources/Scripts/AverageDirectionExtractor.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
namespace Fight4Dream.Locomotors.MoveInPlace.Unity
{
using System;
using Malimbe.PropertySerializationAttribute;
using Malimbe.XmlDocumentationAttribute;
using UnityEngine;
using UnityEngine.Events;
using Zinnia.Data.Collection.List;
Expand All @@ -20,12 +18,13 @@ public class AverageDirectionExtractor : Vector3Extractor<GameObjectObservableLi
[Serializable]
public class UnityEvent : UnityEvent<Vector3> { }

[Tooltip("Determines whether to extract the local property or the world property.")]
[SerializeField]
private bool useLocal = false;
/// <summary>
/// Determines whether to extract the local property or the world property.
/// </summary>
[Serialized]
[field: DocumentedByXml]
public bool UseLocal { get; set; }
public bool UseLocal { get => useLocal; set => useLocal = value; }

/// <summary>
/// The direction axes of the transform.
Expand All @@ -46,12 +45,13 @@ public enum AxisDirection
Forward
}

[Tooltip("The direction to extract from the Transform.")]
[SerializeField]
private AxisDirection direction = AxisDirection.Forward;
/// <summary>
/// The direction to extract from the <see cref="Transform"/>.
/// </summary>
[Serialized]
[field: DocumentedByXml]
public AxisDirection Direction { get; set; }
public AxisDirection Direction { get => direction; set => direction = value; }

/// <summary>
/// Sets the <see cref="Direction"/>.
Expand Down
Loading

0 comments on commit e72da15

Please sign in to comment.