Exemplo 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);
 }
Exemplo 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);
 }
Exemplo 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);
 }