Rename AllocState to NewState

This commit is contained in:
2023-09-24 13:17:59 +02:00
parent 1c20398d8c
commit 959bd33efc
+1 -1
View File
@@ -82,7 +82,7 @@ namespace FlaxEngine
/// Sets the node state at the given memory address.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void AllocState(IntPtr memory, object state)
public void NewState(IntPtr memory, object state)
{
var handle = GCHandle.Alloc(state);
var ptr = IntPtr.Add(memory, _memoryOffset).ToPointer();