示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     isOsWindows = Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == RuntimePlatform.WindowsEditor;
     if (!isOsWindows)
     {
         togle_dock.SetActive(false);
         togle_print.SetActive(false);
         button_print.SetActive(false);
         printer = new SmartPrinter();
     }
 }