graph chart引入&骑行结果弹窗
This commit is contained in:
1 parent
40d118cea3
commit
96f3644b5b
2374 files changed
+485161
-2410
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class AxisCoordinates : MonoBehaviour
|
||||
{
|
||||
public string TextFormat = "{0} : {1}";
|
||||
public Text Coordinates;
|
||||
public RectTransform Prefab;
|
||||
|
||||
RectTransform mVertical;
|
||||
RectTransform mHorizontal;
|
||||
|
||||
// Use this for initialization
|
||||
|
||||
void Start()
|
||||
{
|
||||
if(Prefab != null)
|
||||
{
|
||||
mVertical = GameObject.Instantiate(Prefab);
|
||||
mHorizontal = GameObject.Instantiate(Prefab);
|
||||
mVertical.gameObject.SetActive(false);
|
||||
mHorizontal.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Update () {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user