You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
552 B
25 lines
552 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TestInit : MonoBehaviour
|
|
{
|
|
[Header("外发光颜色")]
|
|
public Color loadOutLineColor;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
Outline triggerLine = this.gameObject.AddComponent<Outline>();
|
|
triggerLine.OutlineColor = loadOutLineColor;
|
|
triggerLine.OutlineWidth = 3;
|
|
triggerLine.enabled = true;
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|