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); }
private T OnReplaceObject(List <T> activeInstances, Stack <T> inactiveInstances) { return(m_fullStrategy.GetObjectToReplace(this, activeInstances, inactiveInstances)); }