Assets/Live2D/Cubism/Core/CubismParameter.cs
/// <summary>
/// Restores instance to initial state.
/// </summary>
/// <param name="unmanagedModel">Handle to unmanaged model.</param>
/// <param name="unmanagedIndex">Position in unmanaged arrays.</param>
Restores instance to initial state.
Restores instance to initial state .
private void Reset(CubismUnmanagedModel unmanagedModel, int unmanagedIndex)
        {
            Revive(unmanagedModel);
            UnmanagedIndex = unmanagedIndex;
            name = Id;
            Value = DefaultValue;
        }
private void Reset ( CubismUnmanagedModel unmanagedModel , int unmanagedIndex ) { Revive ( unmanagedModel ) ; UnmanagedIndex = unmanagedIndex ; name = Id ; Value = DefaultValue ; }
Restores instance to initial state.
Restores instance to initial state .
unmanagedModel
CubismUnmanagedModel
Handle to unmanaged model.
Handle to unmanaged model .
unmanagedIndex
int
Position in unmanaged arrays.
Position in unmanaged arrays .