// Update is called once per frame void Update() { if (screenTouch == null) return; if (progress != null) { progress.Invoke(); } if (card != null) { this.updateWorldSize(); card.Flip(worldSize, dragDir); card.Render(); } }
// Update is called once per frame void Update() { if (screenTouch == null) { return; } if (Camera.main.orthographic == false) { return; } if (progress != null) { progress.Invoke(); } if (card != null) { this.updateWorldSize(); card.Flip(worldSize, dragDir); card.Render(); } }