public override void SetComponents(string[] components)
    {
        m_ComponentsObject = transform.FindChild(Constants.COMPONENTS_STRING).gameObject;

        m_DeathComponent = m_ComponentsObject.GetComponent(components [0]) as BaseDeath;
    }
예제 #2
0
    public override void SetComponents(string[] components)
    {
        m_ComponentsObject = transform.FindChild (Constants.COMPONENTS_STRING).gameObject;

        m_DeathComponent = m_ComponentsObject.GetComponent (components [0]) as BaseDeath;
    }