Skip to content

OnGibsSpawned

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnGibsSpawned( List`1 list, GameObject creator )
{
    Puts( "OnGibsSpawned works!" );
}

Location

  • ServerGib::CreateGibs(string entityToCreatePath, UnityEngine.GameObject creator, UnityEngine.GameObject gibSource, UnityEngine.Vector3 inheritVelocity, float spreadVelocity)
csharp
//---
			{
				Physics.IgnoreCollision(current2.GetCollider(), current.GetCollider(), true);
			}
		}
	}
	Interface.CallHook("OnGibsSpawned", list, creator);
	return list;
}

Released under the MIT License.