Beispiel #1
0
    public void OrbDestroy()
    {
        currentThrowAttempts--;

        if (currentThrowAttempts <= 0)
        {
            if (status != CaptureScreenStatus.Successful)
            {
                status = CaptureScreenStatus.Failed;
                Invoke("moveToWorldScene", 2.0f);
            }
        }
        else
        {
            Instantiate(orb, spawnPoint, Quaternion.identity);
        }
    }
Beispiel #2
0
 public override void droidCollision(GameObject droid, Collision other)
 {
     status = CaptureScreenStatus.Successful;
     Invoke("moveToWorldScene", 2.0f);
 }