UnityPooler.PoolableGameObject.SendCreationMessage C# (CSharp) Method

SendCreationMessage() private method

private SendCreationMessage ( PoolableGameObject newObj ) : void
newObj PoolableGameObject
return void
        private void SendCreationMessage(PoolableGameObject newObj)
        {
            newObj._createMsgSent = true;

            if (onObjectCreation != null)
            {
                onObjectCreation(newObj.gameObject);
            }

            _poolables = GetComponentsInChildren<IGameObjectPoolable>(true);

            for (int i = 0; i < _poolables.Length; i++)
            {
                _poolables[i].OnObjectCreated();
            }
        }