17 lines
305 B
C#
17 lines
305 B
C#
using UnityEngine;
|
|
|
|
namespace OctoCore
|
|
{
|
|
[DefaultExecutionOrder(-102)]
|
|
public class OctoLink : MonoBehaviour
|
|
{
|
|
[SerializeField] Object _octoCore;
|
|
|
|
void Awake()
|
|
{
|
|
if (!OctoCore.Instance && _octoCore)
|
|
Instantiate(_octoCore);
|
|
}
|
|
}
|
|
}
|