usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;publicclassdestination:MonoBehaviour{// Start is called before the first frame updatepublicstaticdestination instance;[Tooltip("range,当笔画与春字距离小于range时笔画消失")]publicfloat range;voidStart(){
instance =this;}privatevoidOnDrawGizmos(){
Gizmos.color = Color.green;
Gizmos.DrawWireSphere(transform.position, range);}}