Update
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class vObjectContainer : MonoBehaviour
|
||||
{
|
||||
|
||||
static vObjectContainer instance;
|
||||
public static Transform root
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!instance)
|
||||
{
|
||||
instance = new GameObject("Object Container", typeof(vObjectContainer)).GetComponent<vObjectContainer>();
|
||||
}
|
||||
return instance.transform;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user