Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
Prefabs

Updated 1/27/2025.

Abilities

Wall Fire (ability version).prefab

A vertical fire that’s tall but thin. This version is used by the fire ability set’s defense ability.

Geb (Ability Set)

There is a prefab for each of the five levels Geb's ability set has for each prefab listed here, so I won't list each individual one.

Earthquake Projectile [lvl 1-5]

With Geb's offense ability, Horus can throw a projectile that spawns an Earthquake zone [lvl 1-5] on collision. Each level has a better earthquake zone.

Earthquake zone [lvl 1-5]

With Geb's offense ability, Horus can throw an Earthquake Projectile [lvl 1-5] that spawns an earthquake zone, slowing and damaging any entities inside it. Each level does more damage and lasts for longer.

Rock Platform [lvls 1-5]

With Geb's utility ability, Horus can spawn a rock platform beneath him that despawns after a certain amount of time. Each level increases the duration of the platform existence.

Rock Wall [lvls 1-5]

With Geb's defense ability, Horus can spawn a rock wall in front of him that prevents enemies from getting past. The wall has a certain amount of health, and starting at level 2, moves forward slowly. Each level increases the health and movement speed of the wall.

Entities

BadGuy Patrol.prefab

A basic melee enemy with a patrol zone attached. This enemy will walk between the two points of the patrol zone until the player is in range. Then it will chase the enemy until it’s close enough to hit the player, and then start attacking.

BoneProjectile.prefab

A slower projectile that Skeleton Guy.prefab uses.

Boulder Projectile.prefab

A version of boulder.prefab that is adapted to be a projectile.

Boulder.prefab

A boulder that the rolling boulder trap can spawn, forcing the player to run away.

Bullet (test projectile).prefab

This is a very basic projectile used to test the functionality of projectiles. It is a bullet.

Fireball Projectile.prefab

A basic projectile that can set entities on fire.

Mummy Patrol.prefab

A common, slow moving enemy that has weak attacks and health. They are intended for the player to fight several of them at once.

Mushroom Guy.prefab

A big mushroom guy who can summon smaller mushroom guys (Mushroom Mini.prefab) to swarm the player.

Mushroom Mini.prefab

A smaller mushroom guy that Mushroom Guy.prefab can spawn. They have less health and cannot spawn their own mushroom minis.

PatrolZoneProto.prefab

A patrol zone that can be attached to an entity with a BasicEntityController.

Player.prefab

This is the player itself. The player is one of the most complicated objects in the game, with many scripts attached. Based on the user’s input, it will move, attack, etc.

Ranged BadGuy Patrol.prefab

A basic ranged enemy with a patrol zone attached. This enemy will walk between the two points of the patrol zone until the player is in range. Then it will chase the enemy until it’s close enough to shoot the player, and then start shooting.

Skeleton Guy.prefab

A big skeleton enemy that can do both ranged and melee attacks.

Soft Collider.prefab

A soft collider that can be added as a child to any entity. Allows for other objects to pass through this object, but push them out if they stay inside this object. For example, a player can pass through a pot or an enemy, but will be pushed away if they try to stand inside it. Think of how animals in Minecraft push each other around when there's too many in a small area. Only applies to objects on the "Push" layer.

Tornado Projectile.prefab

A projectile that does no damage but pushes entities away.

Geb (Boss)

For more details on Geb's bossfight, see the concept doc in Resources.

Falling Earthquake Rock.prefab

A rock that falls from the sky and spawns an Earthquake zone [lvl 1-5] on impact. Used in the thrid phase of Geb's bossfight.

Geb Wall.prefab

A wall that Geb can spawn to block attacks. Used in the second phase of Geb's bossfight.

Geb Earthquake Particles.prefab

Particles generated from earthquake zones created by Falling Earthquake Rock.prefab. Used in the third phase of Geb's bossfight.

Rock Golem (geb).prefab

The version of the rock golem entity that geb spawns during his his bossfight. Used in the first phase of Geb's bossfight.

Rock Golem Spawning Rock.prefab

A rock projectile that spawns a Rock Golem (geb).prefab on impact. Used in the first phase of Geb's bossfight.

Wall Debris.prefab

Debris that spawn from Geb Wall.prefab when it's destroyed. Used in the second phase of Geb's bossfight.

Prefabs_Particles

BloodSplatter.prefab

Basic damage particles currently used by the player and some of the enemies.

BreakParticles.prefab

Particles that spawn when a boulder breaks.

Scene

AudioManager.prefab

There is one AudioManager in every scene. It is a persistent object that does not get destroyed between scenes (and destroys any that might already exist in a scene), carrying with it any music that was already playing. On the AudioManager, is a path to every possible sound file the game may need to use, so it can be played via script. These files can be added to the AudioManager prefab (please add to the prefab, not the instance in the scene you have open) in the Unity Editor.

DataManager.prefab

There is one DataManager in every scene. It is a persistent object that does not get destroyed between scenes (and destroys any that might already exist in a scene), carrying with it important data that can be retained seamlessly across scene changes. This way, if the player loads a new scene by going through a door, the player object can get its health from the DataManager, thus “remembering what health it had.” See DataManager.cs for documentation on the functionality.

Platform.prefab

This is a deprecated prefab only used in the first test level.

StageWarp.prefab

This prefab allows the player to warp to a different location, or even a different scene, using the warp system. This is used to create doors and entrances.

Tiles and Objects

Arrow Trap (right).prefab

If the player enters its trigger zone (walks in front of it), it will shoot a projectile. This one faces to the left.

Arrow Trap (right).prefab

If the player enters its trigger zone (walks in front of it), it will shoot a projectile. This one faces to the right.

BoulderSpawner.prefab

An object that spawns rolling boulders that the player will have to dodge.

Breakable Pot.prefab

A tile with an ObjectHealth script that can be damaged and broken. Currently only for aesthetics.

Falling Spike.prefab

A spike that hangs from the ceiling until a player walks under it, triggering it to fall. It’s destroyed when it hits something, and deals damage to whatever it hit if it has an ObjectHealth script.

Moon Shrine.prefab

A shrine to Thoth that when interacted with, will turn it to night time.

Rock Platform [lvls 1-5]

A solid platform of rock that you can temporarily stand on before it despawns. Used by the rock ability set’s utility ability.

Rock Wall [lvls 1-5]

A solid wall of rock that temporarily blocks enemy attacks and movement before despawning. Used by the rock ability set’s defense ability.

Spikes.prefab

A tile that deals damage when walked on.

Sun Shrine.prefab

A shrine to Ra that when interacted with, will turn it to day time.

Wall Fire.prefab

A vertical fire that’s tall but thin. This version can be placed in the world using the tile system.

Warp Obelisk.prefab

This object has multiple functionalities. If the player interacts with it by pressing the interact key, it sets your spawn point next to it and changes color. If the player interacts with it by holding the interact key, they will get warped to the skyhub - a place where they can talk to different gods and manage their abilities.

Hanging Spikeball.prefab

A ball of spikes attached to a chain that will damage the player if it comes in contact with it.

Moving Platform.prefab

A platform that moves along a predetermined path continuously.

Spring Tile.prefab

A tile that when stepped on by entity, launches it into the air.

Squasher Hazard.prefab

A rectangular block that attempts to crush the player if it goes under it, dealing damage in the process. The underlying functionality is similar to the Falling Spike.prefab.

Swinging Pendulum Axe.prefab

An axe that continuously swings back and forth from a fixed point, damaging the player if it comes into contact with it.

UI

BackgroundCanvas.prefab

A canvas containing the background images, such as the day and night skies.

Canvas.prefab

A canvas containing all the default HUD elements, such as the player’s health bar, ability hotbar, soul counts, and interaction progress bar.

Abilities

Ability Inventory Item.prefab

An item in Ma’at’s ability inventory that represents an individual ability set. Can be dragged around the screen, and will drop into a new slot if dropped close enough to it.

Ability Inventory Slot.prefab

A slot Ma’at’s ability inventory, accessible in the skyhub. Derives from InventorySlot.prefab.

AbilityImageUI.prefab

An icon representing an ability in the ability hotbar.

AbilitySlotUI.prefab

A slot for a AbilityImageUI.prefab in AbilitySlots.prefab.

AbilitySlots.prefab

The ability hotbar that shows your active abilities in the bottom left of the screen.

InventorySlot.prefab

A generic inventory slot that can be added to any future UI.

TempAEffect.prefab

A simple prefab that is just a red box with text on it. Used for testing and example abilities.