Exemple #1
0
 public static void SetUpManually(Biped2 BipodComp)
 {
     if (BipodComp == null)
     {
         Log.Error("Missing Bipod Comp");
         return;
     }
 }
Exemple #2
0
        public GizmoBipodSetupManual(Biped2 BipodComp)
        {
            this.bipod = BipodComp;
            bool flag = this.bipod.ShouldSetUpBipodGizmoBool;

            if (flag)
            {
                this.defaultLabel = this.labelStart;
                this.defaultDesc  = this.descriptionStart;
                this.icon         = GizmoBipodSetupManual.startIcon;
            }
            else
            {
                this.defaultLabel = this.labelStop.Translate();
                this.defaultDesc  = this.descriptionStop.Translate();
                this.icon         = GizmoBipodSetupManual.stopIcon;
            }
        }