|
@@ -3,7 +3,7 @@ using UnityEngine;
|
|
public class SetBtnPos : MonoBehaviour
|
|
public class SetBtnPos : MonoBehaviour
|
|
{
|
|
{
|
|
[SerializeField] private GameObject SetBtn;
|
|
[SerializeField] private GameObject SetBtn;
|
|
- void Start()
|
|
+ void Awake()
|
|
{
|
|
{
|
|
SetBtn = GameObject.Find("SetBtn");
|
|
SetBtn = GameObject.Find("SetBtn");
|
|
if (SetBtn != null)
|
|
if (SetBtn != null)
|