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() { } /// /// 坐标旋转度赋值 /// public void TransformMg() { //this.transform.position = ArrowPos; this.transform.rotation = Quaternion.Euler(0,0,0); } public void OnDisable() { // Destroy(this.gameObject); } }