Awake() public method

public Awake ( ) : void
return void
示例#1
0
    // Use this for initialization
    void Awake()
    {
        // Directly creat a lua class instance to associate with this monobehavior.
        if (!CreateClassInstance("LgSetParticleSortingLayer") || !m_bReady)
        {
            return;
        }

        m_cBehavior.Awake();
    }
示例#2
0
    // The awake method.
    void Awake()
    {
        // Directly creat a lua class instance to associate with this monobehavior.
        if (!CreateClassInstance("LgRocket") || !m_bReady)
        {
            return;
        }

        m_cBehavior.Awake();
    }
示例#3
0
    // The awake method.
    void Awake()
    {
        // Directly creat a lua class instance to associate with this monobehavior.
        if (!CreateClassInstance("LgBackgroundPropSpawner") || !m_bReady)
        {
            return;
        }

        m_cBehavior.Awake();
    }