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

Detailed Description

Add this script to any object which you want custom Anubis jokes for when the player dies to it. For example, this is used on fire to make Anubis tell a fire pun after you burn to death.

Documentation updated 9/15/2024

Author
Stephen Nuttall

Public Member Functions

string GetRandomJoke ()
 

Public Attributes

string[] customAnubisJokes = new string[1]
 Stores the possible jokes that Anubis can tell. These can be added in the Unity Editor.
 

Member Function Documentation

◆ GetRandomJoke()

string CustomDeathMessage.GetRandomJoke ( )

Returns a random joke from the array of custom jokes added in the Unity Editor.

Returns
A string containing a randomly chosen joke.

Member Data Documentation

◆ customAnubisJokes

string [] CustomDeathMessage.customAnubisJokes = new string[1]

Stores the possible jokes that Anubis can tell. These can be added in the Unity Editor.


The documentation for this class was generated from the following file: