Skip to content

OnSurveyGather

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnSurveyGather( SurveyCharge instance, ItemManager itemManager )
{
    Puts( "OnSurveyGather works!" );
}

Location

  • SurveyCharge::Explode()
csharp
//---
			}
			for (int i = 0; i < num; i++)
			{
				Item OxideGen_15 = ItemManager.Create(current.type, iAmount, 0uL, true);
				Item arg_1B5_0 = OxideGen_15;
				Interface.CallHook("OnSurveyGather", this, OxideGen_15);
				Vector3 modifiedAimConeDirection = AimConeUtil.GetModifiedAimConeDirection(20f, Vector3.up, true);
				arg_1B5_0.Drop(base.transform.position + Vector3.up * 1f, this.GetInheritedDropVelocity() + modifiedAimConeDirection * UnityEngine.Random.Range(5f, 10f), UnityEngine.Random.rotation).SetAngularVelocity(UnityEngine.Random.rotation.eulerAngles * 5f);
			}
		}
	}
//---

Released under the MIT License.