Compare commits
	
		
			2 Commits
		
	
	
		
			dce760e536
			...
			4d6d6bc203
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
								 | 
						4d6d6bc203 | |
| 
							
							
								
								 | 
						b45be22bd4 | 
| 
						 | 
					@ -75,7 +75,7 @@ public class HighPriorityTarget : MonoBehaviour
 | 
				
			||||||
    public GameObject gamepos;
 | 
					    public GameObject gamepos;
 | 
				
			||||||
    void Start()
 | 
					    void Start()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        gamepos.gameObject.SetActive(false);
 | 
					        //gamepos.gameObject.SetActive(false);
 | 
				
			||||||
        HighPriorityTargets.Add(this);
 | 
					        HighPriorityTargets.Add(this);
 | 
				
			||||||
        Number = HighPriorityTargets.Count.ToString();
 | 
					        Number = HighPriorityTargets.Count.ToString();
 | 
				
			||||||
        buttonreg.onClick.AddListener(() =>
 | 
					        buttonreg.onClick.AddListener(() =>
 | 
				
			||||||
| 
						 | 
					@ -143,28 +143,28 @@ public class HighPriorityTarget : MonoBehaviour
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (Spectrumdetection.Radius > 0)
 | 
					        //if (Spectrumdetection.Radius > 0)
 | 
				
			||||||
        {
 | 
					        //{
 | 
				
			||||||
            if (gamepos)
 | 
					        //    if (gamepos)
 | 
				
			||||||
            {
 | 
					        //    {
 | 
				
			||||||
                gamepos.gameObject.SetActive(true);
 | 
					        //        gamepos.gameObject.SetActive(true);
 | 
				
			||||||
                switch (Spectrumdetection.Radius)
 | 
					        //        switch (Spectrumdetection.Radius)
 | 
				
			||||||
                {
 | 
					        //        {
 | 
				
			||||||
                    case 1:
 | 
					        //            case 1:
 | 
				
			||||||
                        gamepos.transform.localScale = new Vector3(10, 1, 10);
 | 
					        //                gamepos.transform.localScale = new Vector3(10, 1, 10);
 | 
				
			||||||
                        break;
 | 
					        //                break;
 | 
				
			||||||
                    case 2:
 | 
					        //            case 2:
 | 
				
			||||||
                        gamepos.transform.localScale = new Vector3(20, 1, 20);
 | 
					        //                gamepos.transform.localScale = new Vector3(20, 1, 20);
 | 
				
			||||||
                        break;
 | 
					        //                break;
 | 
				
			||||||
                    case 3:
 | 
					        //            case 3:
 | 
				
			||||||
                        gamepos.transform.localScale = new Vector3(30, 1, 30);
 | 
					        //                gamepos.transform.localScale = new Vector3(30, 1, 30);
 | 
				
			||||||
                        break;
 | 
					        //                break;
 | 
				
			||||||
                    default:
 | 
					        //            default:
 | 
				
			||||||
                        break;
 | 
					        //                break;
 | 
				
			||||||
                }
 | 
					        //        }
 | 
				
			||||||
            }
 | 
					        //    }
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
        }
 | 
					        //}
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// <summary>
 | 
					    /// <summary>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue