1234567891011121314151617181920212223242526272829303132333435363738 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class Arrowattribute : MonoBehaviour
- {
- // Start is called before the first frame update
- //public Color ArrowColor;
- //public Vector3 ArrowPos;
- //public Vector3 Arrowrota;
- void Start()
- {
- this.transform.localRotation = Quaternion.Euler(0, 0, 0);
- }
- // Update is called once per frame
- void Update()
- {
-
- }
-
- /// <summary>
- /// 坐标旋转度赋值
- /// </summary>
- public void TransformMg()
- {
- //this.transform.position = ArrowPos;
-
- this.transform.rotation = Quaternion.Euler(0,0,0);
- }
- public void OnDisable()
- {
- // Destroy(this.gameObject);
- }
-
- }
|