public static GameObject CacheObject(GameObject builtObject, BaseGhost baseGhost)
        {
            var constructableBase = baseGhost.GetComponentInParent <ConstructableBase>();
            var parent            = constructableBase != null ? constructableBase.transform.parent : null;

            parentObject = parent != null ? parent.gameObject : null;
            gameObject   = builtObject;
            return(builtObject);
        }
 public static GameObject CacheObject(GameObject builtObject, BaseGhost baseGhost)
 {
     parentObject = baseGhost.GetComponentInParent <ConstructableBase>()?.transform?.parent?.gameObject;
     gameObject   = builtObject;
     return(builtObject);
 }