43 lines
1.5 KiB
C#
43 lines
1.5 KiB
C#
using CG.UTility;
|
||
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using UnityEngine;
|
||
using UnityEngine.Playables;
|
||
/*******************************************************************************
|
||
*Create By CG
|
||
*Function
|
||
*******************************************************************************/
|
||
namespace Test
|
||
{
|
||
public class CreateGeo : MonoBehaviour
|
||
{
|
||
private string a = "注射器|孕酮阴道栓(CIDR)|长柄钳|氯前列烯醇|前列腺素(PG)|消毒纸巾|促卵泡生成素(FSH)|孕马血清促性腺激素(PMSG)|聚乙烯哔咯烷酮(PVP)|卡波前列腺素(甲基-PGF2α)显微镜|载玻片|盖玻片|玻璃棒|恒温载物台|输精器|外套管|保定架|一次性长臂塑料手套|恒温水浴锅|镊子|细管剪|0.3%高锰酸钾|扩张棒|冲卵管|注射器|容器|冲卵液|青霉素|链霉素";
|
||
//public GameObject prefab;
|
||
//public Transform parnet;
|
||
//[ContextMenu("CreateGeo")]
|
||
//void CreateGeoM()
|
||
//{
|
||
// string[] aArray = a.Split("|");
|
||
|
||
// for (int i = 0; i < aArray.Length; i++)
|
||
// {
|
||
// GameObject b = Instantiate(prefab, parnet);
|
||
// b.name = aArray[i];
|
||
// b.transform.localPosition = new Vector3(i, 0, 0);
|
||
|
||
// }
|
||
//}
|
||
private void Update()
|
||
{
|
||
if (Input.GetKeyDown(KeyCode.Space))
|
||
{
|
||
transform.GetComponent<TimelineDirectorCtrl>().PlayForward();
|
||
}
|
||
}
|
||
//public SignalListener signalListener;
|
||
public void TestLog()
|
||
{
|
||
Debug.Log("测试触发器");
|
||
}
|
||
}
|
||
} |