18 lines
299 B
C#
18 lines
299 B
C#
using Obvious.Soap;
|
|
using UnityEngine;
|
|
|
|
public class BindGameObjectToScriptableList : MonoBehaviour
|
|
{
|
|
public ScriptableListGameObject listGameObject;
|
|
|
|
private void OnEnable()
|
|
{
|
|
listGameObject.Add(base.gameObject);
|
|
}
|
|
|
|
private void OnDisable()
|
|
{
|
|
listGameObject.Remove(base.gameObject);
|
|
}
|
|
}
|