Example #1
0
    public override void OnStartLocalPlayer()
    {
        base.OnStartLocalPlayer();

        // start the tuerwaechterin & tuerwaechterkinder scripte
        Tuerwaechterkinder[] knut = FindObjectsOfType <Tuerwaechterkinder>();
        for (var i = 0; i < knut.Length; i++)
        {
            knut[i].enabled = true;
        }

        Tuerwaechterin knutmama = FindObjectOfType <Tuerwaechterin>();

        knutmama.enabled = true;

        Aufwach lore = FindObjectOfType <Aufwach>();

        lore.enabled = true;
    }
Example #2
0
 void Awake()
 {
     mama = GetComponentInParent <Tuerwaechterin>();
 }