Exemple #1
0
    // Use this for initialization
    void Awake()
    {
        if (load == null)
        {
            load = this;
        }
        else
        {
            Destroy(gameObject);
            return;
        }
        onScene = new Dictionary <Commandments.Shrines, GameObject>();

        destinyShrine = Commandments.Shrines.NEXUS;
    }
Exemple #2
0
    public void RegisterToList(Commandments.Shrines shrine, GameObject me)
    {
        if (onScene.ContainsKey(shrine))
        {
            onScene[shrine] = me;
        }
        else
        {
            onScene.Add(shrine, me);
        }

        if (shrine == destinyShrine)
        {
            SetActors();
        }
    }
Exemple #3
0
 public Texture2D GetTexture(Commandments.Shrines shrine)
 {
     return(shrineToTexture[shrine].shrineTexture);
 }
 public void loadShrine(Commandments.Shrines destinyShrine)
 {
     asd = sceneDictionary[destinyShrine];
     Create(false);
 }
Exemple #5
0
 public void loadShrine(Commandments.Shrines shrine)
 {
     startLoading  = true;
     destinyShrine = shrine;
 }
Exemple #6
0
 public void Reload(Commandments.Shrines destiny)
 {
     destinyShrine = destiny;
     Reload();
 }