// Created by SwanDEV 2017 using UnityEngine; namespace SDev.Component { public class SDemoControl { public State m_State = State.Playing; public enum State { /// /// The tweening will be destroyed in the next update. /// Kill = 0, Playing, Paused, } public SelfAnimation.SelfAnimType m_SelfAnimType = SelfAnimation.SelfAnimType.None; // public Vector3 initValue; // public Vector3 fromValue; // public Vector3 toValue; // public float time = 0.5f; // public float delay = 0f; // public SDemoAnimation.LoopType loop = SDemoAnimation.LoopType.None; // public bool destroyOnComplete = false; // public bool executeAtStart = true; // public bool enableInitValue = false; // // public UnityEvent onComplete; } }