// Remove the bottom turn object public void TurnObjectRemoved(bool isSceneObject) { if (isSceneObject) { bottomTurnSceneObjectSpawned = bottomTurnSceneObjectSpawned.GetObjectParent(); if (bottomTurnSceneObjectSpawned == null) { topTurnSceneObjectSpawned = null; } } else { bottomTurnPlatformObjectSpawned = bottomTurnPlatformObjectSpawned.GetObjectParent(); if (bottomTurnPlatformObjectSpawned == null) { topTurnPlatformObjectSpawned = null; } } }