예제 #1
0
	// Use this for initialization
//	void Start()
//	{
//		this.enabled = false;
//	}
	
	void OnTriggerEnter(Collider other)
	{
//		PSZiYouMoveCamera script = other.GetComponent<PSZiYouMoveCamera>();
//		if (script != null) {
//			script.SetCameraMarkInfo(this);
//			return;
//		}

		XkPlayerCtrl playerScript = other.GetComponent<XkPlayerCtrl>();
		if (playerScript == null) {
			return;
		}
//		Debug.Log("Unity:"+"AiMark::OnTriggerEnter -> AniName "+PlayerAni);
//		Debug.Log("Unity:"+"AiMark::OnTriggerEnter -> MarkName "+gameObject.name);
		playerScript.PlayZhuJiaoMarkAction(this);
	}