示例#1
0
 void Awake()
 {
     enabled = false;
     if (CompatibilityChecker.IsWin64())
     {
         return;
     }
     instance = this;
     StartCoroutine(CheckActionGroupEditor());
 }
 public override void OnAwake()
 {
     enabled = false;
     if (CompatibilityChecker.IsWin64())
     {
         compatible = false;
         Events["HideUI"].active = false;
         Events["ShowUI"].active = false;
         return;
     }
     PartMessageService.Register(this);
     // Initialize utilization from the settings file
     utilization = MFSSettings.partUtilizationDefault;
 }