示例#1
0
 void Start()
 {
     move.receiver   = this;
     rotate.receiver = this;
     scale.receiver  = this;
     TypeGotActivated(activeInteractionType);
     cursorfeedback = CursorFeedback.Instance.gameObject.GetComponent <CursorFeedback>();
 }
示例#2
0
 private void Awake()
 {
     if (_instance != null && _instance != this)
     {
         Destroy(this.gameObject);
     }
     else
     {
         _instance = this;
     }
 }