Discussion in 'Legacy Discussion' started by DraB, Mar 14, 2017.
Is there a way I can remove the wood the comes with placing a campfire?
int Limpar (bool all)
Int destruído = 0;
Foreach (DeployableObject deployable em UnityEngine.Resources.FindObjectsOfTypeAll <DeployableObject> ())
If (deployable.gameObject.name == "Campfire (Clone)")
If (shouldDestroy (deployable.transform.position, all))
I had a buddy make a plugin for it.
It's kind of a complete removal of the object - but can I delete those 5 pieces of wood when installing a bone?