public void SetParent(ObjectWithHealth.objectWithHealthType type) { parentType = type; }
private void Start() { parentType = GetComponentInParent <ObjectWithHealth>().objectType; }
public void SetParent(ObjectWithHealth.objectWithHealthType type) { parentType = type; }
private void Start() { parentType = GetComponentInParent <ObjectWithHealth>().objectType; }