graph chart引入&骑行结果弹窗
This commit is contained in:
1 parent
40d118cea3
commit
96f3644b5b
2374 files changed
+485161
-2410
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 18b42f94e2ada7740b9825cb34777480
|
||||
timeCreated: 1489946663
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,30 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using ChartAndGraph;
|
||||
|
||||
public class testMarker : MonoBehaviour
|
||||
{
|
||||
public GameObject Place;
|
||||
|
||||
// Use this for initialization
|
||||
void Start ()
|
||||
{
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update ()
|
||||
{
|
||||
var radar = GetComponent<RadarChart>();
|
||||
string group;
|
||||
double amount;
|
||||
if(radar.SnapWorldPointToPosition(Input.mousePosition,out group,out amount))
|
||||
{
|
||||
Vector3 position;
|
||||
if(radar.ItemToWorldPosition(group,amount ,out position))
|
||||
{
|
||||
Place.transform.position = position;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 068b9cef75344bb4b8044e19147573b6
|
||||
timeCreated: 1546529935
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in new issue
Block a user