Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudopode committed Aug 21, 2019
1 parent dd1fca6 commit 434c0b1
Show file tree
Hide file tree
Showing 954 changed files with 104,358 additions and 2 deletions.
31 changes: 31 additions & 0 deletions Assets/ActivateDeactivateTxt.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ActivateDeactivateTxt : MonoBehaviour
{
private Text text;
private bool state;
// Start is called before the first frame update
void Start()
{
this.GetComponent<Text>();
}

// Update is called once per frame
void Update()
{

}

public void activate()
{
this.text.color = new Color(205.0f/255.0f,205.0f/255.0f,205.0f/255.0f);
}

public void deactivate()
{
this.text.color = new Color(45.0f/255.0f,45.0f/255.0f,45.0f/255.0f);
}
}
11 changes: 11 additions & 0 deletions Assets/ActivateDeactivateTxt.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 434c0b1

Please sign in to comment.