EventManager.Setup C# (CSharp) Method

Setup() private method

private Setup ( ) : void
return void
    private void Setup()
    {
        // TO DO: Self create GameObject if not already created
    }

Usage Example

    void Start()
    {
        #if UNITY_STANDALONE
        Debug.Log("> UNITY_STANDALONE");
        eventManager = new SocketManager();
        #endif
        #if UNITY_EDITOR
        Debug.Log("> UNITY_EDITOR");
        eventManager = new SocketManager();
        #endif
        #if UNITY_ANDROID
        Debug.Log("> UNITY_ANDROID");
        eventManager = new EventManager();
        #endif

        eventManager.Setup();
    }