| 123456789101112131415161718192021222324252627282930313233343536 |
- using UnityEngine;
- using System.Collections;
- public class RepeatBattleSoundInfo
- {
- public string soundName;
- public float interval;
- public float continueTime;
- public float TimevalFromFirstPlay
- {
- get;
- set;
- }
- public float TimevalFromLastPlay
- {
- get;
- set;
- }
- public bool HasPlayed
- {
- get;
- set;
- }
- public RepeatBattleSoundInfo(string name, float continueTime, float interval)
- {
- this.soundName = name;
- this.continueTime = continueTime;
- this.interval = interval;
- HasPlayed = false;
- TimevalFromFirstPlay = 0f;
- TimevalFromLastPlay = 0f;
- }
- }
|