Awake() public method

public Awake ( ) : void
return void
Example #1
0
    public static bool Exists()
    {
        if (s_Instance == null)
        {
            AudioController tmpInst = FindObjectOfType(typeof(AudioController)) as AudioController;
            if (tmpInst != null)
            {
                tmpInst.Awake();
            }
            s_Instance = tmpInst;
        }

        return(s_Instance != null);
    }