Example #1
0
 /// <summary>
 /// 重置计时器
 /// </summary>
 public void ResetTimer()
 {
     MDriver.ResetTimer();
 }
Example #2
0
 /// <summary>
 /// 获取组件
 /// </summary>
 /// <typeparam name="T">组件类型</typeparam>
 /// <param name="name">组件名称</param>
 /// <returns>组件实例</returns>
 public T GetComponent <T>(string name = null) where T : class
 {
     return(MDriver.GetComponent <T>(name));
 }