void SelectSpawnFactory(SpawnFactory pSpawnFactory) { mLayerType.value = pSpawnFactory.mRenderLayer; GenHelpers.ResetSpawnEnemySelection(mSpawnEnemy); GenHelpers.ResetSpriteSelection(mFactorySprite); GenHelpers.ResetCollectSelection(mSpawnSound); mEditoryBlock.Bind(new SerializedObject(pSpawnFactory)); }
void SelectPickable(Item pItem) { GenHelpers.ResetSpriteSelection(mItemSprite); GenHelpers.ResetCollectSelection(mItemSound); mLayerType.value = pItem.mRenderLayer; mItemType.value = pItem.mItemType; mEditoryBlock.Bind(new SerializedObject(pItem)); }