// Copyright (c) 2015 - 2023 Doozy Entertainment. All Rights Reserved. // This code can only be used under the standard Unity Asset Store End User License Agreement // A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms namespace Doozy.Runtime.Reactor { /// Describes the computation types available for reactions public enum PlayMode { /// /// Value goes from start value (A) to target value (B). /// A > B /// Animation restarts (from A) when looped. /// Normal, /// /// Value goes between start (A) and target (B) values back and forth /// A > B > A /// If looped, a loop is considered to go from start to target to start /// PingPong, /// /// Value goes between start (A) and target (B) values back and forth and returns to the start value as if connected by a spring. /// A > B(1) > B(2) > ... > B(n) > A /// Spring, /// /// Value randomly 'shakes' between start (A) and target (B) values back and forth and returns to the start value. /// A > Random(A,B) > Random(A,B) > ... > Random(A,B) > A /// Shake } }