예제 #1
0
 public void Alarm1()
 {
     t  = 1;
     pd = GMComponent.PointDistance(
         GM.offsetX + p1, GM.offsetY - p2,
         player.transform.position.x, player.transform.position.y);
     d = GMComponent.PointDirection(
         GM.offsetX + p1, GM.offsetY - p2,
         player.transform.position.x, player.transform.position.y);
 }
예제 #2
0
 public void Alarm0()
 {
     t  = 1;
     pd = GMComponent.PointDistance(p1, p2, transform.position.x, transform.position.y);
     d  = GMComponent.PointDirection(p1, p2, transform.position.x, transform.position.y);
 }