| 1234567891011121314151617181920212223242526272829 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /*
- 在静止靶时,
- 在左边小靶上保留上次射箭时的箭的位置(高亮点表示)
- 下次再射箭时候取消前次高亮点,
- 以便用户更好的针对上次射箭的状态进行调整
- */
- public class PointSignLastHitNew : MonoBehaviour
- {
- void Start()
- {
- }
- public void Hide()
- {
- gameObject.SetActive(false);
- }
- public void Show(Vector3 pos)
- {
- transform.position = pos;
- gameObject.SetActive(true);
- }
- }
|