17 lines
359 B
C#
17 lines
359 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace BehaviorDesigner.Runtime
|
|
{
|
|
[Serializable]
|
|
public class SharedGameObject : SharedVariable<GameObject>
|
|
{
|
|
public static implicit operator SharedGameObject(GameObject value)
|
|
{
|
|
SharedGameObject sharedGameObject = new SharedGameObject();
|
|
sharedGameObject.mValue = value;
|
|
return sharedGameObject;
|
|
}
|
|
}
|
|
}
|