Exemplo n.º 1
0
        protected GameObject OnReplaceObject(List <GameObject> activeInstances, Stack <GameObject> inactiveInstances)
        {
            GameObject result = null;

            if (m_fullStrategy != null)
            {
                result = m_fullStrategy.GetObjectToReplace(this, activeInstances, inactiveInstances);
            }
            return(result);
        }
Exemplo n.º 2
0
 private T OnReplaceObject(List <T> activeInstances, Stack <T> inactiveInstances)
 {
     return(m_fullStrategy.GetObjectToReplace(this, activeInstances, inactiveInstances));
 }