Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
RenderManager Class Reference
+ Inheritance diagram for RenderManager:

Public Types

enum  Shape { Rectangle , RectangleOutline , Circle , CircleOutline }
 
enum  CanvasType { Foreground , Background , Camera }
 

Public Member Functions

void Update ()
 
void AddObject (string _name, CanvasType _type, Shape _shape, Vector3 _pos, Vector2 _scale, float rot, Color _col)
 
GameObject GetObjectForeGround (string _name)
 Gets a drawn object from the foreground.
 
GameObject GetObjectBackground (string _name)
 
GameObject GetObjectCamera (string _name)
 
bool HasObjectForeground (string _name)
 
bool HasObjectBackground (string _name)
 
void DeleteObjectForeground (string _name)
 
void DeleteObjectBackground (string _name)
 

Public Attributes

List< GameObject > foregroundObjects = new List<GameObject>()
 
Dictionary< string, int > foregroundObjectNames = new Dictionary<string, int>()
 
List< GameObject > backgroundObjects = new List<GameObject>()
 
Dictionary< string, int > backgroundObjectNames = new Dictionary<string, int>()
 
List< GameObject > cameraObjects = new List<GameObject>()
 
Dictionary< string, int > cameraObjectNames = new Dictionary<string, int>()
 
GameObject rectPrefab
 
GameObject rectOutlinePrefab
 
Transform foregroundCanvas
 
Transform backgroundCanvas
 
Transform cameraCanvas
 

Static Public Attributes

static RenderManager inst
 

Private Member Functions

void Awake ()
 Make sure there is only one instance of this object.
 

Member Function Documentation

◆ GetObjectForeGround()

GameObject RenderManager.GetObjectForeGround ( string _name)

Gets a drawn object from the foreground.

Parameters
_name
Returns

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