示例#1
0
 public void ActionBenediction(GameObject obj)
 {
     if (obj.layer == LayerMask.NameToLayer("LoadingNewLevel"))
     {
         transitions.EndAnimations();
     }
     if (obj.layer == LayerMask.NameToLayer("Teleportation"))
     {
         transitions.EndAnimations();
     }
 }