コード例 #1
0
ファイル: PlayerDemo.cs プロジェクト: mrosiak/Limbountain
 private bool StreightLegs()
 {
     if (RightFootGrip)
     {
         if (RightFootGrip.IsOverStreched())
         {
             InfoMessageText = "Right leg is streched. Can't go any further up";
             print("right foot streched");
             return(true);
         }
     }
     if (LeftFootGrip)
     {
         if (LeftFootGrip.IsOverStreched())
         {
             InfoMessageText = "Left leg is streched. Can't go any further up";
             print("left foot streched");
             return(true);
         }
     }
     return(false);
 }