Esempio n. 1
0
 void ResetObjectSpawner(ObjectCreation TEMP)
 {
     TEMP.gameObject.transform.position   = new Vector3(0, 0, 0);
     TEMP.gameObject.transform.localScale = new Vector3(1, 1, 1);
     TEMP.gameObject.transform.rotation   = Quaternion.identity;
     TEMP.ResetObjectSpawner();
 }
Esempio n. 2
0
    void Reset()
    {
        StopAllCoroutines();
        objectSpawner.ResetObjectSpawner();

        if (IsEnabled)
        {
            StartCoroutine("C_StartSpawner");
        }
    }