Exemplo n.º 1
0
    private void SpawnClound()
    {
        IObjectPool cloudScript = PoolController.Instance.Get("cloud", m_SpawnPoint.transform.position, Quaternion.identity).GetComponent <IObjectPool>();

        cloudScript.OnReuse();
        m_TimeCloud = Time.time;
    }