22 lines
521 B
XML
22 lines
521 B
XML
<prefab name="Urchin" type="">
|
|
<asset type="texture" name="texture_urchin" />
|
|
<MeshRenderer />
|
|
<QuadMeshHost />
|
|
<SimpleBillboardedMaterial texture="texture_urchin" />
|
|
<EntityHealth />
|
|
<EntityFaction faction="FACTION_ENEMY" />
|
|
<CharacterController2D />
|
|
<BoxCollider />
|
|
|
|
<child>
|
|
<BoxCollider min="-0.4, -0.4" max="0.4, 0.4" />
|
|
<SolidController2D />
|
|
</child>
|
|
|
|
<child>
|
|
<BoxCollider />
|
|
<TriggerController2D ref="hurtTrigger" />
|
|
</child>
|
|
|
|
<HurtHazard trigger="hurtTrigger" />
|
|
</prefab> |