public static GFloat GetFloat(this XmlElement node, string attrName) { var att = node.GetAttribute(attrName); return(GFloat.Parse(att)); }
public void Start() { //从第零帧开始, 时间对应也是0开始; startTime = Time.time; stageTime = 0f; }
public Timer(XmlNode node) : base(node) { delay = node.GetFloat("delay"); }