public bool UnregisterVxShadowMapsContainer(VxShadowMapsContainer container) { if (_container != container) { Debug.LogError("Failed to unregister container, Are there VxShadowMapsContainers more than one?"); return(false); } //Debug.Log("Try to unregister VxShadowMapsContainer"); _container = null; return(true); }
public bool RegisterVxShadowMapsContainer(VxShadowMapsContainer container) { if (_container != null) { Debug.LogError("Failed to register container, VxShadowMapsContainer must be single one."); return(false); } //Debug.Log("Try to register VxShadowMapsContainer"); _container = container; return(true); }