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