TeamBlockFlag.cs 373 B

123456789101112131415161718192021
  1. using UnityEngine;
  2. using System.Collections;
  3. public class TeamBlockFlag : MonoBehaviour {
  4. public TeamUtil.Team team;
  5. public Material yellowBlockMaterial;
  6. private Material oldMaterial;
  7. // Use 哈 this for initialization
  8. void Start ()
  9. {
  10. oldMaterial = this.GetComponent<Renderer>().material;
  11. }
  12. // Update is called once per frame
  13. void Update ()
  14. {
  15. }
  16. }