ZenSpace/Assets/InitValueObject.cs

17 lines
318 B
C#
Raw Normal View History

2022-05-10 16:24:07 +02:00
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);
}
}