17 lines
318 B
C#
17 lines
318 B
C#
|
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);
|
||
|
}
|
||
|
}
|