Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        //BackGround work
        cam = Camera.main;

        instance = instance ?? this;
        CountAllDeltas();
    }
Ejemplo n.º 2
0
 /// <summary>
 /// timer 要执行的检查窗体是否符合要求,展开或收缩窗体
 /// </summary>
 void timer_Tick(object sender, EventArgs e)
 {
     VisualEffectHelper.WindowShrinkEffect(this, 3);
 }