docs.unity3d.com
    Show / Hide Table of Contents

    Class Main

    Main entry point to the PSN system and initialization

    Inheritance
    Object
    Main
    Namespace: Unity.PSN.PS5
    Syntax
    public class Main

    Methods

    Initialize(UInt32, UInt32)

    Initialise the Unity PSN system

    Declaration
    public static InitResult Initialize(uint nativeWriteBufferK = 2048U, uint nativeReadBufferK = 2048U)
    Parameters
    Type Name Description
    UInt32 nativeWriteBufferK

    Size of write buffers measured in Kbytes

    UInt32 nativeReadBufferK

    Size of read buffers measured in Kbytes

    Returns
    Type Description
    InitResult

    Returns the results of initialization include the SDK version. InitResult

    ShutDown()

    Shutdown the Unity PSN system

    Declaration
    public static void ShutDown()

    Update()

    Update function. Must be called each frame from the main Unity thread

    Declaration
    public static void Update()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 25 September 2020