Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        style                  = new GUIStyle();
        style.font             = (Font)Resources.Load("Lemon");
        style.fontSize         = 60;
        style.normal.textColor = Color.red;

        styleA      = new GUIStyle();
        styleA.font = (Font)Resources.Load("Lemon");

        styleB                  = new GUIStyle();
        styleB.font             = (Font)Resources.Load("Lemon");
        styleB.fontSize         = 40;
        styleB.normal.textColor = Color.white;

        styleC                  = new GUIStyle();
        styleC.font             = (Font)Resources.Load("Lemon");
        styleC.fontSize         = 60;
        styleC.normal.textColor = Color.red;

        styleD                  = new GUIStyle();
        styleD.font             = (Font)Resources.Load("Lemon");
        styleD.fontSize         = 100;
        styleD.normal.textColor = Color.red;


        saveItems   = GameObject.Find("AM_Teleportplatte").GetComponent <AM_end>();
        deathScreen = GameObject.Find("AM_Funktionen").transform.Find("DeathScreen").gameObject;
        endScreen   = GameObject.Find("AM_Funktionen").transform.Find("EndScreen").gameObject;

        transparent.a = 0f;
    }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     //respawnScript = GameObject.Find("RabbitWarrior01").GetComponent<AM_respawnPoint>();
     // verlinken:
     guiScript     = GameObject.Find("AM_Teleportplatte").GetComponent <AM_end>();
     respawnScript = gameObject.GetComponent <AM_respawnPoint>();
     fass.AddComponent <AM_charHolder>();
 }
Exemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     guiScript = GameObject.Find("AM_Teleportplatte").GetComponent <AM_end>();
 }