Infohazard.Core 1.4.1
Infohazard Core Utility Library
Loading...
Searching...
No Matches
Infohazard.Core.Tag Class Reference

Provides string constants for builtin Unity tags. More...

Static Public Attributes

const string Untagged = "Untagged"
 The string "Untagged". More...
 
const string Respawn = "Respawn"
 The string "Respawn". More...
 
const string Finish = "Finish"
 The string "Finish". More...
 
const string EditorOnly = "EditorOnly"
 The string "EditorOnly". More...
 
const string MainCamera = "MainCamera"
 The string "MainCamera". More...
 
const string Player = "Player"
 The string "Player". More...
 
const string GameController = "GameController"
 The string "GameController". More...
 
static readonly string[] DefaultTags
 Array of default tags provided by Unity. More...
 
static string[] GameOverrideTags = null
 Set by the generated GameTag script. More...
 

Properties

static string[] Tags [get]
 Array of all default and custom tags in the project. More...
 

Detailed Description

Provides string constants for builtin Unity tags.

To extend with custom tags, see GameTag, which you can generate using the command Infohazard > Generate > Update GameTag.cs.

Member Data Documentation

◆ DefaultTags

readonly string [] Infohazard.Core.Tag.DefaultTags
static
Initial value:
= {
"Untagged", "Respawn", "Finish", "EditorOnly", "MainCamera", "Player", "GameController",
}

Array of default tags provided by Unity.

◆ EditorOnly

const string Infohazard.Core.Tag.EditorOnly = "EditorOnly"
static

The string "EditorOnly".

◆ Finish

const string Infohazard.Core.Tag.Finish = "Finish"
static

The string "Finish".

◆ GameController

const string Infohazard.Core.Tag.GameController = "GameController"
static

The string "GameController".

◆ GameOverrideTags

string [] Infohazard.Core.Tag.GameOverrideTags = null
static

Set by the generated GameTag script.

◆ MainCamera

const string Infohazard.Core.Tag.MainCamera = "MainCamera"
static

The string "MainCamera".

◆ Player

const string Infohazard.Core.Tag.Player = "Player"
static

The string "Player".

◆ Respawn

const string Infohazard.Core.Tag.Respawn = "Respawn"
static

The string "Respawn".

◆ Untagged

const string Infohazard.Core.Tag.Untagged = "Untagged"
static

The string "Untagged".

Property Documentation

◆ Tags

string [] Infohazard.Core.Tag.Tags
staticget

Array of all default and custom tags in the project.


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