Example #1
0
 protected void C**k()
 {
     if (!hammer.cocked)
     {
         if (!barrel.isOut)
         {
             barrel.Rotate();
         }
         hammer.C**k();
     }
 }
Example #2
0
 void Start()
 {
     if (bolt != null)
     {
         bolt.OnBoltOpened += () =>
         {
             if (hammer != null)
             {
                 hammer.C**k();
             }
         };
     }
 }