Esempio n. 1
0
 /// <summary>
 /// 设置暂停
 /// 暂停animator和particleSystem(包括其孩子节点)
 /// </summary>
 /// <param name="gameObject"></param>
 /// <param name="cause"></param>
 public static void SetPuase(this GameObject self, object cause)
 {
     PauseUtil.SetPause(self, cause);
 }
Esempio n. 2
0
 /// <summary>
 /// 设置暂停
 /// </summary>
 /// <param name="self"></param>
 /// <param name="cause"></param>
 public static void SetPause(this ParticleSystem self, object cause)
 {
     PauseUtil.SetPause(self, cause);
 }
Esempio n. 3
0
 /// <summary>
 /// 设置暂停
 /// </summary>
 /// <param name="self"></param>
 /// <param name="cause"></param>
 public static void SetPause(this Animator self, object cause)
 {
     PauseUtil.SetPause(self, cause);
 }