using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Bolt; public class InitValueObject : MonoBehaviour { public string ObjectVariableName; public GameObject Value; void Awake() { Variables.Object(gameObject).Set(ObjectVariableName, Value); } }