| 123456789101112131415161718192021222324252627282930 | 
							- using SmartBowSDK;
 
- using System;
 
- using System.Collections;
 
- using System.Collections.Generic;
 
- using UnityEngine;
 
- public class SightBead : MonoBehaviour
 
- {
 
-     public RectTransform rectTransform;
 
-     private void Start()
 
-     {
 
- //#if UNITY_ANDROID
 
- //        GeneratingTarget.gm.helper.OnRotationUpdate += OnRotationUpdate;
 
- //#endif
 
-     }
 
-     private void OnRotationUpdate(Quaternion rotation)
 
-     {
 
-         rectTransform.position = new Vector3(rotation.x, rotation.y, rotation.z);
 
-     }
 
-     // Update is called once per frame
 
-     void Update()
 
-     {
 
- //#if !UNITY_ANDROID
 
- //        rectTransform.position = Input.mousePosition;
 
- //#endif
 
-     }
 
- }
 
 
  |