mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 08:08:51 -05:00
removal of mistakenly included function
This commit is contained in:
parent
2ddefb7f4a
commit
9235727383
@ -30,22 +30,6 @@ namespace UnityAtoms
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public V Variable { get => _inMemoryCopy; }
|
public V Variable { get => _inMemoryCopy; }
|
||||||
|
|
||||||
public void SetSource(V variable)
|
|
||||||
{
|
|
||||||
_base = variable;
|
|
||||||
if (Application.isPlaying)
|
|
||||||
{
|
|
||||||
Debug.LogWarning("Setting the underlying variable of an instancers at runtime can result in hard to find issues. be careful.");
|
|
||||||
if (_inMemoryCopy != null)
|
|
||||||
{
|
|
||||||
Destroy(_inMemoryCopy);
|
|
||||||
_inMemoryCopy = null;
|
|
||||||
}
|
|
||||||
OnEnable();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Getter for retrieving the value of the in memory runtime variable.
|
/// Getter for retrieving the value of the in memory runtime variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user