Exemple #1
0
 void Start()
 {
     eff_true  = transform.FindChild("effect_true").gameObject;
     eff_false = transform.FindChild("effect_false").gameObject;
     et        = EmitlineTask.Instance;
     receiver1 = et.receivers[0].colreceiver;            //竖着的那个
     receiver2 = et.receivers[1].colreceiver;            //平放的那个
     lr        = GetComponent <LineRenderer>();
     //lr.material = et.matLine;
 }
Exemple #2
0
 void Awake()
 {
     s_instance = this;
 }