-
Notifications
You must be signed in to change notification settings - Fork 3
/
Prefabs.cs
45 lines (41 loc) · 1.8 KB
/
Prefabs.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace HKSecondQuest
{
/// <summary>
/// Contains the data necessary to find and load a prefab
/// </summary>
class Prefab
{
public string OriginRoom;
public string OriginName;
public GameObject Object;
public Prefab(string originRoom, string originName)
{
OriginRoom = originRoom;
OriginName = originName;
}
}
/// <summary>
/// Contains the prefabs to be loaded by the PrefabManager
/// </summary>
internal class Prefabs
{
public static Prefab BREAKABLE_FLOOR = new Prefab("RestingGrounds_05", "Quake Floor");
public static Prefab LEFT_TRANSITION = new Prefab("Crossroads_01", "left1");
public static Prefab RIGHT_TRANSITION = new Prefab("Crossroads_01", "_Transition Gates/right1");
public static Prefab SMALL_PLATFORM = new Prefab("Tutorial_01", "_Scenery/plat_float_17");
public static Prefab LARGE_PLATFORM = new Prefab("Crossroads_01", "_Scenery/plat_float_07");
public static Prefab GARDENS_PLATFORM = new Prefab("Fungus3_08", "Royal Gardens Plat S");
public static Prefab BOUNCE_MUSHROOM = new Prefab("Fungus2_20", "Bounce Shroom B");
public static Prefab DUSK_KNIGHT = new Prefab("Abyss_05", "Dusk Knight");
public static Prefab WHITE_PALACE_ENTRANCE = new Prefab("White_Palace_11", "door1");
public static Prefab DREAM_ENTRY = new Prefab("White_Palace_11", "Dream Entry");
public static Prefab WHITE_PALACE_LEVER = new Prefab("White_Palace_14", "White Palace Orb Lever");
public static Prefab PURE_VESSEL_STATUE = new Prefab("GG_Workshop", "GG_Statue_HollowKnight");
}
}