コード例 #1
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "In a blind fury, I found the nearest weapon and wreaked havoc on any thing in sight: soldiers, personnel, families, computers. Nothing could escape my rage.";
//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(4, dialogue.text);
        }
    }
コード例 #2
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "In my rampage, I released other experiments locked away on the station which led to the genocide of everyone on board.";
//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(5, dialogue.text);
        }
    }
コード例 #3
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "In my listless wandering, I stumbled upon some memory chips. I could forget this all happened. I eventually discovered the machine to aid the memory transfer was in the same room I first awoke in. Ironic isn't it? Maybe my next self will find peace with all this; I know I won't.";
//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(8, dialogue.text);
        }
    }
コード例 #4
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "Once there was nothing left to destroy, I felt empty. I needed to sob, I needed to weep, I needed to cry, I needed to escape...";
//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(6, dialogue.text);
        }
    }
コード例 #5
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "I wanted to forget everything that occurred, all the slaughtering, the screams, the bloodshed; it was too much for me to bear.";
//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(7, dialogue.text);
        }
    }
コード例 #6
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "What I can recall haunts me to this day; alien cyborgs surrounding my body tied down to a table. My intestines pulsating were the last thing I gazed upon before losing consciousness.";
//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(2, dialogue.text);
        }
    }
コード例 #7
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "I awoke some time later to find I had no feeling in my body. As I attempted to lift myself off the table, I heard a scraping sound from directly under me. I moved my hand in front of my eyes only to see cold iron. I was furious; I could never return to the life I once had.";

//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(3, dialogue.text);
        }
    }
コード例 #8
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "My name is Roberto Aguilar, I was a university student at UC Irvine back on Earth. Everything else about my past life is nothing more than a haze.";

//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(1, dialogue.text);
        }
    }
コード例 #9
0
    private void OnCollisionEnter2D(Collision2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            dialogue.text = "I have no recollection of how I arrived on this station, but I recall my past life.";


//			logPanel.text += dialogue.text + "\n";
            GameGoodies.CollectedChips(0, dialogue.text);
            GameMasterControl.incStory();
        }
    }
コード例 #10
0
 void Update()
 {
     health = aniScript.health;
     if (health <= 0 && !spawned)
     {
         if (DropChance())
         {
             GameGoodies.EnemyDropRate(this.transform, objectPrefabList, InstantiateFolder, 1);
         }
         spawned = true;
     }
 }