void SelectStaticObject(StaticObject pObject) { GenHelpers.ResetSpriteSelection(mSObjSprite); mLayerType.value = pObject.mRenderLayer; mColliderType.value = pObject.mColliderType; mEditoryBlock.Bind(new SerializedObject(pObject)); }
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)); }