Firstborn/Assets/SWAN Dev/Common/SDemoControl.cs

39 lines
952 B
C#
Raw Normal View History

// Created by SwanDEV 2017
using UnityEngine;
namespace SDev.Component
{
public class SDemoControl
{
public State m_State = State.Playing;
public enum State
{
/// <summary>
/// The tweening will be destroyed in the next update.
/// </summary>
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;
}
}